Question: The Tip, Tax & Total problem. Write a python program that calculates the total amount of a meal purchased at a restaurant. The program should

The Tip, Tax & Total problem.

Write a python program that calculates the total amount of a meal purchased at a restaurant. The program should ask the user to enter the price for the foo, and then calculate the amount of 18% tip and 9% sales tax. Display each of the amounts (price, tip, tax) and the total.

The following demonstrates the desired behavior of this program.

====================== SAMPLE OUTPUT ============================

Enter the net charge for food: 30 Tip(18%): $5.40 Tax: $2.70 Total: $38.10

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!