Question: Follow the instructions for starting C++ and viewing the ModifyThis20.cpp file, which is contained in either the Cpp8Chap12ModifyThis20 Project folder or the Cpp8Chap12 folder. (Depending
Follow the instructions for starting C++ and viewing the ModifyThis20.cpp file, which is contained in either the Cpp8\Chap12\ModifyThis20 Project folder or the Cpp8\Chap12 folder. (Depending on your C++ development tool, you may need to open the project/ solution file first.) The file contains the code shown earlier in Figure 12-8. The first column in the array contains the sales amounts for paperback books sold in each of the three stores; the second column contains the sales amounts for hardcover books. Save and then run the program. The total sales are $15159.36. Modify the program to also display each store’s total sales. Save and then run the program.
Step by Step Solution
3.34 Rating (160 Votes )
There are 3 Steps involved in it
To modify the program to display each stores total sales you can add a for loop to iterate through e... View full answer
Get step-by-step solutions from verified subject matter experts
