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.

in c++ language  in c++ language 17. Write a program that computes the tax

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

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!