Computers and Technology

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

answer
Answers: 1

Other questions on the subject: Computers and Technology

image
Computers and Technology, 23.06.2019 08:00, ionmjnm3041
The managing director of a company sends a christmas greeting to all his employees through the company email. which type of network does he use? he uses an .
Answers: 3
image
Computers and Technology, 23.06.2019 15:00, billlyyyyyyyyyy
Visually impaired individuals generally rely on the for navigation. thus, designers need to ensure that mouse-specific inputs, such as pointing, clicking, and hovering, can be done without a mouse.
Answers: 1
image
Computers and Technology, 23.06.2019 22:00, elijah1090
Technician a says engine assemblies can be mounted longitudinally in a chassis. technician b says engine assemblies can be mounted transversely in a chassis. who is correct?
Answers: 2
image
Computers and Technology, 24.06.2019 13:30, livie225
Type the correct answer in the box. spell all words correctly. what is the default margin width on all four sides of a document? by default, the document has a margin on all four sides.
Answers: 1
Do you know the correct answer?
Write a program to help a local restaurant automate its breakfast billing system. The
program...

Questions in other subjects:

Konu
Mathematics, 30.10.2021 14:00