Question: A local restaurant wants you to write a program that can compute the meal cost for a customer and calculate appropriate tips. The program will
A local restaurant wants you to write a program that can compute the meal cost for a customer and
calculate appropriate tips. The program will work by asking the total cost of the entree, side, and drink.
Once those have been entered by the user, the program will then calculate the meal cost before tax
taxes owed on the meal, and total cost cost of meal plus tax Additionally, the program should
calculate tip recommendations for and tax. Note that tip calculations MUST be based on
cost of meal BEFORE tax.
Once the calculations have been processed, a receipt must be shown to the user that includes the
following:
Meal Cost before tax
Taxes Owed assume a tax
Order Total Meal Cost plus Tax
Tip Suggestions for as well as how much would be paid for each percentage
amount order total tip amount
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
