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

Other questions on the subject: Computers and Technology

image
Computers and Technology, 22.06.2019 05:00, edjiejwi
Lisa has a section of her document that she would like to include in the index. which option should lisa choose? mark index mark entry insert endnote add text
Answers: 3
image
Computers and Technology, 22.06.2019 12:30, zaratayyibah
Which of the choices sean are not true when considering virus behavior
Answers: 1
image
Computers and Technology, 22.06.2019 19:00, trintrin227
In he example code, what does the title attribute create? a tool tip an element a source a markup
Answers: 1
image
Computers and Technology, 23.06.2019 01:20, shiann2002
Me with this program in c++ ! computers represent color by combining sub-colors red, green, and blue (rgb). each sub-color's value can range from 0 to 255. thus (255, 0, 0) is bright red. (130, 0, 130) is a medium purple. (0, 0, 0) is black, (255, 255, 255) is white, and (40, 40, 40) is a dark gray. (130, 50, 130) is a faded purple, due to the (50, 50, 50) gray part. (in other word, equal amounts of red, green, blue yield gray).given values for red, green, and blue, remove the gray part. ex: if the input is 130 50 130, the output is: 80 0 80. thus, find the smallest value, and then subtract it from all three values, thus removing the gray.
Answers: 3
You know the right answer?
Write a program to help a local restaurant automate its breakfast billing system. The
program...

Questions in other subjects:

Konu
Mathematics, 23.10.2020 21:50
Konu
English, 23.10.2020 21:50
Konu
Biology, 23.10.2020 21:50
Konu
Mathematics, 23.10.2020 21:50