Question: Write a program that displays a simple restaurant menu, then asks the user to enter the number corresponding to a choice on the menu and
Write a program that displays a simple restaurant menu, then asks the user to enter the number corresponding to a choice on the menu and the number of orders for that choice. The program then prints the appropriate message, or an error message if either the choice or the number of orders is invalid. A customer is allowed a maximum of two orders for choice #1, a maximum of three orders for choice #2, and a maximum of five orders for choice #3. Example output: Available menu at Monty Python 1. Soup and salad 2. Pasta with meat balls 3. Philly cheese-steak Please enter your menu choice using a number? 2 Please enter the number of orders? 3 Three "Pasta with meat balls" coming right up
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
