Answered step by step
Verified Expert Solution
Question
1 Approved Answer
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
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started