예제 #1
0
 public double visit(Laptop laptop)
 {
     return(laptop.price + laptop.shippingprice);
 }
예제 #2
0
 public double visit(Laptop laptop)
 {
     return(laptop.price * 0.83);
 }