Lab 04: Tip, Tax, and Total Python code for the following programming problem. W
ID: 3624246 • Letter: L
Question
Lab 04: Tip, Tax, and TotalPython code for the following programming problem.
Write a program that will calculate a tip% and a 6% tax on a meal price. The user will enter the meal price and the program will calculate tip, tax, and the total. The total is the meal price plus the tip plus the tax. Your program will then display the values of tip, tax, and total.
The restaurant has a fixed tip percent based on the meal price. The tip percent amounts are as follows:
Meal Price Range Tip Percent
.01 to 5.99 10%
6 to 12.00 13%
12.01 to 17.00 16%
17.01 to 25.00 19%
25.01 and more 22%
Use at least six modules (one for input of meal price, one to calculate the tip amount, one to calculate the tax amount, one to calculate the total bill amount, one to display the results, and the main module) in developing the logic.