Question: Complete the program below, using onlineGDB, to calculate the total cost of a meal including sales tax and a tip. The program will prompt the

Complete the program below, using onlineGDB, to calculate the total cost of a meal including sales tax and a tip.
The program will prompt the user to input:
1. the cost of the meal,
2. the tip percent
then perform the calculations and print the results.
Sales tax rate is 9.5%, do not calculate a tip on sales tax amount.
Sample output below:
please input the amount of the meal 85.22
enter tip percent as shown >15.5, your number can be different
please input the tip percent for the meal 12.5
Meal cost is 85.22
Tax amount is 8.10
Tip amount is 10.65
Total meal cost is 103.97

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!