Write a program that interacts with the user via the console and lets them choose options from a food menu by using the associated item number. It is expected that your program builds an representing...

1 answer below »
Project is attached.


Write a program that interacts with the user via the console and lets them choose options from a food menu by using the associated item number. It is expected that your program builds an representing the food order to be displayed at the end. (See Sample Run Below)(See Grading Rubric on last page).  Please note:  Each student is required to develop their own custom menus, with unique food categories, items and toppings. All code submissions must be your own and be accompanied by a video explanation showing the code and running the application. Any source used in the development of your solution must be quoted as a comment in the code. Honor Code: You are encouraged to work together to discuss the overall design of programs and homework. However, all work must be your own for all programs and homework assignments.  Any sources used in the completion of your assignment must be explicitly quoted. You are responsible for knowing and following Lehman's academic integrity code (available from the Undergraduate Bulletin, Graduate Bulletin, Office of Academic Standards and Evaluations, or the Smart Catalog). All incidents of cheating will be reported to the Vice President of Student Affairs. SUBMISSION INSTRUCTIONS: 1. Submit your source code to zybook (Chapter 5 section 20) for preliminary testing to ensure it starts 2. Take a 3-5 minute video of the project running to demonstrate the functionality as you explain it.  3. Upload your video to youtube and provide the link as a comment in your code at the top. NOTE: Video explanation and code must both be submitted by the deadline to earn credit, even if the program is not fully functional. The program should begin by greeting the user with the following statement: Welcome to the food festival! Would you like to place an order? The only valid inputs are “Yes” and “No” (case insensitive).  Other input should not be allowed, and the user should be prompted again for a “Yes” or “No” input as follows: Would you like to place an order? If the user responds “NO” (case insensitive), the user should be thanked as follows: Thank you for stopping by, maybe next time you’ll sample our menu. If the user responds “YES” (case insensitive), the user should be asked their name as follows: What is your name for the order? The user’s name should be saved in a variable to be used later. The user should now be prompted to select from a menu of options as follows: Select from menu, : 0 - Nothing 1 - Appetizer 2 - Main Course 3 - Dessert Enter the number for your selection: The menu should then be displayed with each option having a number that will be used for the selection process. (See Sample Run Below) All menus should include at least 3 items each in addition to 0 representing nothing selected. When a selection is made the submenu should be presented until the Toppings menu is reached. That menu should be repeatedly offered to the user until 0 is selected as an option for that category. When 0 is selected as an option for a menu, the menu at the previous level should then be presented. For the top level menu shown above, a selection of 0 should result in ending the application and displaying the following: Here is your order, : Enjoy your meal! Example: If the user selects 1 for Appetizer, the Appetizer Menu should be presented as follows:  Appetizer Menu: 0 - Nothing 1 - Oysters 2 - Grilled Octopus 3 - Hummus Enter the number for your appetizer selection: 1 If the user selects an appetizer, the Toppings Menu should be presented as follows:  Toppings Menu: 0 - Nothing 1 - Olive Oil 2 - Paprika 3 - Olives Enter the number for your topping selection: 2 The toppings menu should now be be presented again for the user: Toppings Menu: 0 - Nothing 1 - Olive Oil 2 - Paprika 3 - Olives Enter the number for your topping selection: 0 The appetizer menu should now be presented again: Appetizer Menu: 0 - Nothing 1 - Oysters 2 - Grilled Octopus 3 - Hummus Enter the number for your appetizer selection: 0 The top level  menu should now be presented again: Select from menu, : 0 - Nothing 1 - Appetizer 2 - Main Course 3 - Dessert Enter the number for your selection:0
Answered 1 days AfterMar 21, 2021

Answer To: Write a program that interacts with the user via the console and lets them choose options from a...

Sudipta answered on Mar 23 2021
150 Votes
SOLUTION.PDF

Answer To This Question Is Available To Download

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here