Answered step by step
Verified Expert Solution
Question
1 Approved Answer
i need the C++ code for this assignment Write a program to help a local restaurant automate its breakfast billing system. The program should do
i need the C++ code for this assignment Write a program to help a local restaurant automate its breakfast billing system. The program should do the following: 1. Show the customer the different breakfast items offered by the restaurant. 2. Allow the customer to select more than one item from the menu. 3. Calculate and print the bill. Assume that the restaurant offers the following breakfast items (the price of each item is shown to the right of the item): Assume that the restaurant offers the following breakfast items (the price of each item is shown to the right of the item): Use an array menuList of type menuItemType, as defined in Programming Exercise 3. Your program must contain at least the following functions: - Function getData: This function loads the data into the array menuList . - Function showMenu: This function shows the different items offered by the restaurant and tells the user how to select the items.. - Function printCheck : This function calculates and prints the check. (Note that the billing amount should include a 5% tax.) - Function printCheck: This function calculates and prints the check (Note that the billing amount should include a 5% tax.) A sample output is: You can make up to 8 single order seler Do you want to make selection Y/Y (Yes? You can make up to 8 single order selec Do you want to make selction Y/y (Yes) Enter item number: 1 Select another item Y/Y (Yes), N (No) Enter item number: 2 Select another item Y/y(Yes),N (No) Welcoma th Inhnnive Daeturant Format your output with two decimal places. The name of each item in the output must be left fustified. You may assume that the user selects only one item of a particular type. Grading When you have completed your program, click. the Submit button to cecord your score
i need the C++ code for this assignment
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started