Question: in python please Qu2 Write a program that computes the tax and tip on a restaurant bill. The program should ask the user to enter
Qu2 Write a program that computes the tax and tip on a restaurant bill. The program should ask the user to enter (input) the name of the waiter and the charge for the meal. The tax should be 4.75 percent of the meal charge. The tip should be 10 percent of the total after adding the tax. Your code should display the walter name, meal charge, tax amount, tip amount, and total till on the screen, Here is a sample output input: Enter Walter name: Alex Enter charge for meal: 51,00 output: Walter Name: Alex Meal Charge: $ 51.00 Tax: $ 2.42 Tip: $ 5.10 Total Bil: $ 58.52 Important Notes: 1. Use a right function to get inputs from the user 2. Make sure to keep variables in a correct type le. int, float str) 3. Use meaningful names for your variables 4. Use correct operations to compute new variables 5. Make sure you display the output values with 2 decimal places 6. Make sure you display the $ in output values
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
