Local resturant automate its breakfast billing system

Assignment Help C/C++ Programming
Reference no: EM13165374

Write a program to help a local resturant automate its breakfast billing system . Write a program to help a local resturant automate its breakfast billing system. the program should do the following : the program should do the following:
a. a. Show the customer the different breakfast items offered by the resturant. Show the customer the different breakfast items offered by the resturant.
b. b. Allow the costimer to select more than one item from the menu . Allow the costimer to select more than one item from the menu.
c. c. Calculate and print the bill . Calculate and print the bill.
Assume that the resturant offers the following breakfast items ( the price of each item is shown to the right of the item): Assume that the resturant offers the following breakfast items (the price of each item is shown to the right of the item):
Plain Egg 1.45
Bacon and Egg 2.45 Bacon and Egg 2.45
muffin 0.99 muffin 0.99
French Toast 1.99 French Toast 1.99
Fruit basket 2.49 Fruit basket 2.49
Cereal 0.69 Cereal 0.69
Coffee 0.50 Coffee 0.50
Tea 0.75 Tea 0.75

use an array , menuList, of the struct menuItemType. use an array, menuList, of the struct menuItemType.
your program must contain at least the following functipons : your program must contain at least the following functipons:
* function getData: this function loads the data into the array menuList. * 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 sellect the items. * Function showMenu: this function shows the different items offered by the restaurant and tells the user how to sellect the items.
* function printCheck : this function calculates and prints the check. * Function printCheck: this function calculates and prints the check.
(note that the billing amount should include the 5% tax) (Note that the billing amount should include the 5% tax)

format your output with two decimle places. format your output with two decimle places. the name of each item in the output must be left-justified. the name of each item in the output must be left-justified. Customer should be able to select multiple items of a particular type.

Sample Output in this Case is:

Welcome to Johnny's Resturant

1 Bacon and Egg 2.45

2 muffin 1.98

1 coffee .50

   tax .25

Amount Due 5.18

Reference no: EM13165374

Questions Cloud

Differences between sub-energy levels and orbitals : What are the differences between sub-energy levels and orbitals? (My professor said they were different.)
What is the pb2+ concentration : After allowing the solution to sit for 30 minutes the student determines that the bromide concentration was [Br-]= 0.0012 M. What is the Pb2+ concentration?
Calculate the annual rate of return : Prepare an incremental analysis for the 4 years showing whether Shellhammer should keep the existing machine or buy the new machine and calculate the annual rate of return for the new machine
Which of the following will react with benedict reagent : Which of the following will react with Benedict's reagent?
Local resturant automate its breakfast billing system : Use an array , menuList, of the struct menuItemType. use an array, menuList, of the struct menuItemType. your program must contain at least the following functipons : your program must contain at least the following functipons.
Describe the nature and characteristics of pcb : Describe the nature and characteristics of PCB s. Why are they of importance to an EH&S or FS professional who encounters them when.
Sustainability in key professions : Discuss the way in which BHP Billiton has demonstrated its social and environmental accountability and consider the above and discuss the stance and initiatives of the Australian accounting profession on corporate social responsibility
What is the ph of the resulting mixture : In a titration, 10.0 mL of 0.025 M hydrochloric acid is added to 30.0 mL of 0.030 M ammonia. What is the pH of the resulting mixture?
By what test could you identify the non-aqueous layer : If toluene(density 0.87) were used to extract ethylene bromohydrin (density 2.41) from an aqueous solution.

Reviews

Write a Review

C/C++ Programming Questions & Answers

  Design and implement a library system

Design and implement a library system that does the following: ? Takes details of a student/library users: first name, last name, other names, user ID number, and nationality.

  Windows application that function like a banking account

Create a Windows application that function like a banking account register. Separate the business logic from the presentation layer. The graphical user interface should allow user to input the account name, number, and balance.

  Write song playlist class-object-oriented design principles

Write a song playlist class in C++ called "PlayList" using object-oriented design principles. The playlist should support the following ADT.The implementation should be based on an array of strings to store the song titles.

  Write an input validation loop

write an input validation loop that asks the user to enter a number in the range of 1 through 4.

  Displays columns titled "name", "quantity", "price", value

Write a program that displays columns titled "Name", "Quantity", "Price", and "Value". The fourth column contains the result of multiplying each item's quantity by its price. In addition, the program should calculate and display the total value of th..

  Build a definition for a class that stores data

Using C++ language, build a definition for a class that stores data about a two dimensional vector. The class has to have mutators and accessors to get and set the x and y values. Make x and y integers. Then overload the operator * so that it retu..

  Write a program to find the middle element in a linked list

1. Write a program to check if there is a loop in a linked list. Create a loop in a linked list and use your method 'isLoop' to identify that the loop exists. The method isLoop should return a Boolean type.2.

  Program to generate 100,000 prime numbers

Write a POSIX C/C++ program to generate 100,000 prime numbers. Assume that the program will be run on a computer with 5 CPUs and that your goal is to have this program finish as quickly as possible.

  C assignment of curl library

C Assignment Curl library must be used To be done on linux, it should be compiled using the following command: gcc -Wall -ansi -pedantic NameOfFile.c -lncurses Please make sure it is commented with clarification Variable names in camel case

  A constructor that constructs a rectangle2d

A constructor that constructs a Rectangle2D with specified points as coordinates.A no-argument constructor that creates the rectangle with points (0, 0), (5, 5) and (0, 5) and

  Develop a class airborne location

develop a class AirborneLocation that represents the location of airplanes with respect to a reference radar location. Each AirborneLocation object should include data member for aircraftID (integer),

  Write a recursive definition in sml to reverse

Write a recursive definition in SML to reverse a list of elements and multiply all elements with 2.

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd