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 02:00
Alocal reaction will occur at the site of the exposure such as irritation or damage to the skin eye or local reaction will occur at the site of the exposure such as irritation or damage to the skin ireland lounges
Answers: 3
question
Computers and Technology, 23.06.2019 09:00
The first screen you see when you open word2016 what is called?
Answers: 1
question
Computers and Technology, 23.06.2019 09:30
:you areto design the controller for alight that functions both as an ordinary light and also as a motion activated light and alarm. a.if the manual switch s is on, then the light l is on. b.besides the manual switch, there is a motion detector, m1, which activatesthis light.c.if motion is detected but the light is on anyway because s is on, only then a secondoutput a, an alarm, is turned on. d.the disable switch, d, disables the motion activated light and alarmbut leaves manual control operation of the light using switch s.(i)read the problem statement and clearly identify the inputs and outputs for the circuit you are designing. (ii)create the truth table for this system; include the light, alarm, switch, disable, and the motion sensor.(iii)draw a schematic of this system.
Answers: 1
question
Computers and Technology, 23.06.2019 21:30
To move a file or folder in microsoft windows, you can click and hold down the left mouse button while moving your mouse pointer to the location you want the file or folder to be, which is also known as.
Answers: 3
You know the right answer?
Write a program to help a local restaurant automate its breakfast billing system. The
program...
Questions
question
Mathematics, 06.03.2020 02:20
question
English, 06.03.2020 02:20