Question: ment%201%20-%20Section%204.pdf 2 / 3 - 805 Program 1: Write a python program to calculate the tax and tip from the restaurant bill amount. a. The
ment%201%20-%20Section%204.pdf 2 / 3 - 805 Program 1: Write a python program to calculate the tax and tip from the restaurant bill amount. a. The program should accept name and bill amount from the user (bill amount can either be integer value or a float value). b. Tax amount is 6.75 % of the bill amount. c. Tip amount is 15 % of the total bill amount which includes tax. Note: Use f-string and escape sequence characters wherever possible. Your output should be as follows: (Assume the user has entered name as "Ahmed" and bill amount as OMR 4.5) Welcome 'Ahmed Your Bill Amount is OMR 4.500 You have to pay OMR 0.304 as tax Your Total Bill Amount is OMR 4.804 OMR 0.721 will be added as Tip for the employee OMR 5.524 is the amount you have to pay
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
