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 switch-case 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 3 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.
1. Hamburger : $6.99
2. Hotdog : $2.99
3. Nachos : $2.99
4. Water : $1.99

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!