Question: in c++ language 17. Write a program that computes the tax and tip on a restaurant bill for a patron with a $44.50 meal charge.
17. Write a program that computes the tax and tip on a restaurant bill for a patron with a $44.50 meal charge. The tax should be 6.75 percent of the meal cost, if the service was good (g) the tip should be 20 percent of the total after adding the tax, if the service was poor (p) the tip should be 158. Display the meal co total bill on the screen. Use at least one constant variable. (10 points) st, tax amount, tip amount, and the Include the following variables: subtotal, tax, tip, total variables you may need , and any other
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
