Question: Write a program that asks the user to enter a meal name and its cost in a restaurant, and then computes the tax and tip
Write a program that asks the user to enter a meal name and its cost in a restaurant, and then computes the tax and tip on the restaurant bill for that meal. The tax should be 6.75 percent of the meal cost, and the tip should be 20 percent of the total after adding the tax. Display the meal name, meal cost, tax amount, tip amount, and total bill on the screen.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
