Question: C++ Write a program allows the restaurant owner input the number of different entrees they wish to prepare for the week. The program will tell
C++
Write a program allows the restaurant owner input the number of different entrees they wish to prepare for the week. The program will tell the owner exactly how much of each ingredient they will need to order. By using this program, they will be able to eliminate waste and order quickly and efficiently.
The owner will have the option to edit the menu entrees and the amounts of each ingrediant. Each menu entree will be represented by a struct containing the amount of each ingredient required to make it. Choose a list of entrees and ingredients.
The program must be written in a modularized / object oriented manner.
Here is an example of the output should look like:
Everythiong after : is user input
Please run the code and post the output with the solution to make sure the code runs before answering this question:)
Menu:
1. Edit Menu Items
2. Place an order
3. Exit
Please enter your menu number: 1
Edit Menu Items:
1. Enter New Menu Item
2. Edit Old Menu Item
Please enter your menu number: 1
Please enter the name of the entre:
Chicken Enchiladas
Please enter the amount in cups of the following ingredients:
Beef: 0
Pork: 0
Chicken:
Bean:
Rice:
Corn Tortillas: 0
Cheese:
Enchiladas sauce:
Salsa: 0
Sour Cream: 1/8
Lettuce: 0
Tomato: 0
Menu:
1. Edit Menu Items
2. Place an order
3. Exit
Please enter your menu number: 1
Edit Menu Items:
1. Enter New Menu Item
2. Edit Old Menu Item
Please enter your menu number: 1
Please enter the name of the entre:
Bean, Cheese and Rice Burritos
Please enter the amount in cups of the following ingrediants:
Beef: 0
Pork: 0
Chicken: 0
Bean:
Rice:
Corn Tortillas: 0
Cheese:
Enchiladas sauce: 0
Salsa: 0
Sour Cream: 0
Lettuce: 0
Tomato: 0
Menu:
1. Edit Menu Items
2. Place an order
3. Exit
Please enter your menu number: 1
Edit Menu Items:
1. Enter New Menu Item
2. Edit Old Menu Item
Please enter your menu number: 1
Please enter the name of the entre:
Pork Tacos
Please enter the amount in cups of the following ingredients:
Beef: 0
Pork:
Chicken: 0
Bean:
Rice:
Corn Tortillas: 0
Cheese:
Enchiladas sauce: 0
Salsa: 0
Sour Cream: 0
Lettuce: 1/8
Tomato: 1/8
Menu:
1. Edit Menu Items
2. Place an order
3. Exit
Please enter your menu number: 1
Edit Menu Items:
1. Enter New Menu Item
2. Edit Old Menu Item
Please enter your menu number: 2
Edit Old Menu Item:
Which item would you like to change:
Chicken Enchiladas
Bean, Cheese, and Rice Burritos
Pork Tacos
Please enter the name of the entre:
Pork Tacos
Please enter the amount in cups of the following ingrediants:
Beef: 0
Pork: 1
Chicken: 0
Bean:
Rice:
Corn Tortillas: 0
Cheese:
Enchiladas sauce: 0
Salsa: 0
Sour Cream: 0
Lettuce: 1/8
Tomato: 1/8
Menu:
1. Edit Menu Items
2. Place an inventory order
3. Exit
Please enter your menu number: 2
Enter the number of each Menu item you will need
Chicken Enchiladas: 5
Bean, Cheese, and Rice Burritos: 4
Pork Tacos: 3
You will need to order these ingredients (in cups):
Beef: 0
Pork: 3/2
Chicken:5/2
Bean: 6
Rice: 6
Corn Tortillas: 0
Cheese: 6
Enchiladas sauce: 5/2
Salsa: 0
Sour Cream: 5/8
Lettuce: 3/8
Tomato: 3/8
Menu:
1. Edit Menu Items
2. Place an inventory order
3. Exit
Please enter your menu number: 3
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
