In this exercise, you will modify the sales program from Lab7-2. If necessary, create a new project

Question:

In this exercise, you will modify the sales program from Lab7-2. If necessary, create a new project named ModifyThis17 Project, and save it in the Cpp8\Chap07 folder. Enter (or copy) the Lab7-2.cpp instructions into a new source file named ModifyThis17.cpp.Change Lab7-2.cpp in the first comment to ModifyThis17.cpp. In addition to the current output, the program should also display the annual increase amounts. Display each amount on a separate line, using the message “Year x increase: $y”, in which x is the year number and y is the increase amount. The increase amounts should be displayed with no decimal places. Save and then run the program. Enter 125000 as the current year’s sales.

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

Step by Step Answer:

Related Book For  book-img-for-question
Question Posted: