Question: Write an algorithm and the test cases solving the following problem: Ask the user for a total food bill and the percentage tip to be

Write an algorithm and the test cases solving the following problem:
Ask the user for a total food bill and the percentage tip to be applied (15,18, or 20%). Calculate and display the total to be paid after adding both a 7% tax and the calculated tip of the users choice to the bill.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!