Question: JAVA Implement the menu choice options using the JAVA switch - case statement. For each option selected by the user, the program prompts the user
JAVA
Implement the menu choice options using the JAVA switchcase statement. For each option selected by the user, the program prompts the user to enter the quantity to be purchased and calculates the cost. The program repeatedly displays the menu until the user is done with the order for say, multiple items on the menu. The ordering terminates when the user enters the string done On termination, the program displays the final total bill for all items ordered by the customer. Test your program by using a purchasing order of at least different types of pizzas by a single customer then modify the order above to output transaction details into a text file with transaction number, name of item, quantity ordered, and total cost of each item.
Hamburger : $
Hotdog : $
Nachos : $
Water : $
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
