Question

C PLUS PLUS

This is all I could get. Thanks
Problem specification
Chris Johanson wants a program that calculates and displays a 10%,
15%, and 20% tip on his total restaurant bill. First, create an IPO chart
for this problem, and then desk-check the algorithm twice, using
$35.80 and $56.78 as the total bill. After desk-checking the algorithm,
list the input, processing, and output items in a chart.

IPO chart information C++ instruction
Input
Total bill double totalBill = 0.0;
Tip 10 percent double tipOne = 0.0;
Tip 15 percent double tipTwo = 0.0;
Tip 20 percent doubletipThree = 0.0;

Processing
Total bill from restaurant double total Bill = 0.0;

Output
Tip double tip = 0.0;

Algorithm
1.enter the total bill and tip percent
2.calculate the total with tip one
3.calculate the total with tip two
4.calculate the total with three
5.calculate the tip by multiplying the
Total bill with the tip percentage
6.display the tip of each one.

Solutions

Expert Solution
No answers


Submit Your Answer