예제 #1
0
 public override double cost()
 {
     return(beverage.cost() + .20);
 }
예제 #2
0
 public static void PrintMsg(Beverage beverage)
 {
     Console.WriteLine(beverage.getDescription() + "$" + beverage.cost());
     Console.ReadKey();
 }