Esempio n. 1
0
 static void printTotals(IRecipe recipe)
 {
     Console.Write("\n\tTax = $" + recipe.getTax() + "\n");
     Console.Write("\tDiscount = ($" + recipe.getWellnessDiscount() + ")\n");
     Console.Write("\tTotal = $" + recipe.getTotalCost() + "\n\n");
 }
Esempio n. 2
0
 static void printTotals(IRecipe recipe)
 {
     Console.Write("\n\tTax = $" + recipe.getTax() + "\n");
     Console.Write("\tDiscount = ($" + recipe.getWellnessDiscount() + ")\n");
     Console.Write("\tTotal = $" + recipe.getTotalCost() + "\n\n");
 }