Question: 2. Write a program that computes the tax and tip on a restaurant bill. The program should ask the user to enter the charge for
2. Write a program that computes the tax and tip on a restaurant bill. The program should ask the user to enter the charge for the meal. The tax should be 6.75 percent of the meal charge. The tip should be 15 percent of the total after adding the tax. Program should display the meal charge tax amount, tip amount, and the total bill on the screen. The following a sample output: (save the project as Ass1 P2) What is the meal charge? $45.50 Final bill: Meal charge: $45.50 Tax amount: $3.07 Tip amount: $7.29 Total bill:$55.86
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
