Crispies Bagels and Bites wants a program that allows its salesclerks to enter the number of bagels, donuts, and cups of coffee a customer orders. Bagels are 99¢, donuts are 75¢, and coffee is $1.20 per cup. The program should calculate and display the total price of the customer’s order. First, create an IPO chart for this problem, and then deskcheck the algorithm twice. For the first desk-check, use 0, 12, and 2 as the number of bagels, donuts, and cups of coffee, respectively. For the second desk-check, use 2, 6, and 1. After desk-checking the algorithm, list the input, processing, and output items in a chart similar to the one shown in Figure 3-23, and then enter the appropriate C++ declaration statements.
REFERENCE: FIGURE 3-23
We need at least 10 more requests to produce the solution.
0 / 10 have requested this problem solution
The more requests, the faster the answer.