subject

Write a program to help a local restaurant automate its breakfast billing system. The
program should do the following:
 Show the customer the different breakfast items offered by the restaurant.
 Allow the customer to select more than one item from the menu.
 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):
Plain Egg RS 15.00
Omelet RS 15.00
Paratha RS 12.00
French Toast RS 20.99
Fruit Basket RS 120.49
Coffee RS 50.00
Tea RS 20.00
Use an array, menuList, of the struct menuItemType, as defined in Programming Exercise 2. 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 17% tax.)
A sample output is:
Welcome to Café international
1 Plain Egg RS 15.00
2 Paratha RS 24.00
1 Coffee RS 50.00
Tax RS 6.83

Amount due RS 95.83

Format your output with two decimal places. The name of each item in the output must be left
justified. You may assume that the user selects only one item of a particular type

ansver
Answers: 1

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 00:00
Match each vocabulary word to its definition.1. desktoppicture used to represent acomputer application2. domainnetwork protectionsoftware code that can be viewed,3. iconmodified, and redistributed for freethe background screen on acomputer monitor4. url5. blogan online journalthe part of an internet address that6. firewallrefers to a group of computers on anetworkonline database of web pages7. intranetnetwork for use by an individual8. open address of a web page or9. wikiresource
Answers: 2
question
Computers and Technology, 22.06.2019 06:30
This technology is used to produce high-quality documents that look good on the computer screen and in print. wiki presentation paint desktop publishing
Answers: 3
question
Computers and Technology, 23.06.2019 06:40
What are the three uses of a screw?
Answers: 2
question
Computers and Technology, 23.06.2019 14:30
Select the correct answer. andy received a potentially infected email that was advertising products. andy is at risk of which type of security threat? a. spoofing b. sniffing c. spamming d. phishing e. typo-squatting
Answers: 2
You know the right answer?
Write a program to help a local restaurant automate its breakfast billing system. The
program...
Questions
question
Mathematics, 15.04.2021 23:50
question
Mathematics, 15.04.2021 23:50
question
Social Studies, 15.04.2021 23:50
question
Chemistry, 15.04.2021 23:50
question
Mathematics, 15.04.2021 23:50
Questions on the website: 13722367