Question: Write C++ program to computes the tax, tip and total charge for a given restaurant bill. The tax rate is at 10.5% and tip is

Write C++ program to computes the tax, tip and total charge for a given restaurant bill. The tax rate is at 10.5% and tip is 20% of total after adding tax amount to the initial restaurant bill. These tax rates value should be stored in global constant defined outside the main function. Remember that convention for naming constants using capitalized letters. The amount for the bill must be entered from the keyboard as shown below: Enter bill amount: 1 Here is the prompt : Enter bill amount: 38.40 Here is the input : Here is expected output Bill Tax at 10.50 % Sub-total : Tip at 20.00 % Total Bill ta ta ta ta ta 38.40 4.03 42.43 8.49 50.92 You must use the above input value for bill when testing your work for submission. Note: The $ sign is simply printed as a literal. In addition, you should display result to 2 decimal places to represent cents in a dollar. Also, style of program is very important here. You must document your work. You must indent code properly. You must also name your variables with descriptive names. You must space out work for clarity. Use proper indentation
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
