Question: Write a C program that calculates the total amount of a meal purchased at a restaurant. The program should ask the user to enter the
Write a C program that calculates the total amount of a meal purchased at a restaurant. The program should ask the user to enter the charge for the
food, and then calculate the amount of a percent tip and percent sales tax. Display each of these amounts and the total.
TEST CASE: Demonstrate your program by using a value of $ for the cost of the meal.
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
