I don\'t know how to getAmount, the itemized list or the discount. Discount of S
ID: 3529033 • Letter: I
Question
I don't know how to getAmount, the itemized list or the discount. Discount of Sub Total a. for a $10 discount if their purchase is $50 or over b. an additional $15 discount ($25 total) if $100 or over import java.util.Scanner; public class CheeseShopv2 { public static void intro() { System.out.print("We sell three tpyes of cheese."); System.out.println("Dalaran Sharp: $1.25 per pound"); System.out.println("Stormwind Brie: $10.00 per pound"); System.out.println("Alterac Swiss: $40.00 per pound"); int sharp, brie, swiss, choice; sharp = brie = swiss = choice = 0; } public static int getAmount(Scanner input, String name) { //Fill-in return 0; } public static double calcSubTotal(int sharp, int brie, int swiss) { double subTotal = 0; for (int i=0;iExplanation / Answer
pleaes post the full program
Related Questions
Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.