Question: Instructions: Create a C + + program for a restaurant menu that includes the names of 5 food items and their corresponding prices. Implement two
Instructions:
Create a C program for a restaurant menu that includes the names of food items and their corresponding prices.
Implement two arrays:
An array to store the names of the food items strings
An array to store the prices of the food items doubles
Use a loop to display the menu to the user, including the name and price of each item.
Allow the user to rate each food item on a scale from to being the lowest and being the highest rating
Collect the user's ratings in a separate array integers corresponding to the food items.
Calculate and display the average rating for all the dishes on the menu.
Find and display the name of the food item with the highest average rating.
Find and display the name of the food item with the lowest average rating.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
