Program that allows a restaurant employee to enter an order, C/C++ Programming

The Malt Shop restaurant charges $2.99 for burgers, $1.29 for fries, and $1.25 for sodas. 

Write a program that allows a restaurant employee to enter an order (the number of burgers, fries and sodas), and then display the total cost before tax, the tax (8.25%), the final total cost and the customer's change given the amount tendered.  

Since the program is dealing with the use of money, be sure to utilize the setprecision, setw, left and right manipulators. 

Account for Input failure. It is possible the user may accidentally enter something other than a number into a numeric field.  Expect and correct a possible input failure using clear and ignore statements. 

Use constants to define the cost of burgers, fries and drinks, and the tax rate, something like this:

const double BURGER_COST = 1.99;

const double FRIES_COST = 1.29;

const double SODA_COST = 1.25;

const double TAX_RATE = .0825;

1826_Program That Allows a Restaurant Employee to Enter an Order.png

Posted Date: 3/2/2013 6:53:44 AM | Location : United States







Related Discussions:- Program that allows a restaurant employee to enter an order, Assignment Help, Ask Question on Program that allows a restaurant employee to enter an order, Get Answer, Expert's Help, Program that allows a restaurant employee to enter an order Discussions

Write discussion on Program that allows a restaurant employee to enter an order
Your posts are moderated
Related Questions
I want source code for class booking system by using C++ Programming...Urgent

Static Data Members: A data member inside the class can construct as static data member.   There are few guidelines to be followed when declaring static data member.

C o n t r o l S t r u c t u r e s I t i s o f t h r e e t y p e s: 1 .    S e qu e n c e s t r u c t u r e 2 .

Need an indicator Project Description: Need an indicator which indicates target and trailing sl after entering trades. Skills required are C Programming, C++ Programming,


I need Computer application/program. Project Description:                                                                I want a project done. It is a computer desktop appli

Q: What are some ways try / catch / throw can develop software quality? A: By removing one of the reasons for if statements. The commonly utilized alternative to try / catch

padovan string generation till 40

Create a pseudocode in getting Calendar Quarter. The program should identify which quarter falls the given date. Note: Consider the date format DDMMYYYY.

I require a flowchart for push , & pop operation on stack using array