Question: Write a program that asks the user to input the cost of their meal as a decimal amount and the tip as a percent as
Write a program that asks the user to input the cost of their meal as a decimal amount and the tip as a percent as a whole number. Use a standard tip percent of your choice. The program should use a tax rate of percent that is stored in a properly named constant as decimal. The program should then calculate the dollar amounts of the tip and tax and add these to the original cost to calculate the grand total. The program should then display these amounts the tax, the tip, and the grand total to the user. Review the Python math operators on page to help with this task and use fstring printing. The programs prompts and output should be formatted as in the Example InputOutput below.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
