Question: Implement a menu with the following options: 1. Big Mac 2. Quarter Pounder with Cheese 3. Double Cheeseburger 4. Crispy Chicken Sandwich 5. Filet-O-Fish If

Implement a menu with the following options:

1. Big Mac

2. Quarter Pounder with Cheese

3. Double Cheeseburger

4. Crispy Chicken Sandwich

5. Filet-O-Fish

If the user enters an invalid option, let him/her know of this fact, redisplay the menu, and let them enter an option again.

Once a valid option is received, Display the message: "(meal name) coming up", ane end the program.

For example, if they enter 3, display: "Double Cheeseburger coming up" and exit.

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!