[Solved] Using java if-else [closed]
First, indicate to User the products available and their respective price: int productChoice = 0; int quantity = 0; double totalSum = 0.0; System.out.println(“Welcome To The Mail_Order House.”); System.out.println(“Please select Product Number (1 to 5) you want to buy:\n”); System.out.println(“1) Product Name 1: RM2.98”); System.out.println(“2) Product Name 2: RM4.50”); System.out.println(“3) Product Name 3: RM9.98”); System.out.println(“4) … Read more