Aaron Lakely is going to the grocery store to buy some bananas and apples, both of which

Question:

Aaron Lakely is going to the grocery store to buy some bananas and apples, both of which are sold by the pound. He wants a program that calculates and displays the total cost of his order, including a 3% sales tax. First, create an IPO chart for this problem, and then desk-check the algorithm twice. For the first desk-check, use 2 and 3.5 as the number of pounds of bananas and apples, respectively. And use $0.99 and $1.89 as the price per pound of bananas and apples, respectively. For the second desk-check, use your own set of data. After desk-checking the algorithm, list the input, processing, and output items in a chart similar to the one shown in Figure 3-25, and then enter the appropriate C++ declaration statements. 


IPO chart information C++ instructions Input Latex price Mylar price Latex purchased Mylar purchased sales tax rate (6%) Processing total Latex cost total Mylar cost subtotal sales tax Output total cost Figure 3-25

Fantastic news! We've Found the answer you've been seeking!

Step by Step Answer:

Question Posted: