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
Get step-by-step solutions from verified subject matter experts
