Question: Given the below variables in your program: / / Define and initialize variables double mealCost = 4 4 . 5 0 , / / Meal
Given the below variables in your program: Define and initialize variables double mealCost Meal cost taxRate Tax rate tipRate Tip percentage taxAmt, Tax amount tipAmt, Tip amount totalBill; Total amount to pay Calculate the tax and tip and total by applying tip percent to sum of tax and meal amount. Display meal amount and calculated values. Test your program and then submit cpp file into Blackboard. CORRECT RESULTS Meal Cost $ Tax $ Tip $ Total $
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
