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

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.

Step by Step Solution

3.48 Rating (171 Votes )

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

ModifyThis17cpp Displays the number of years required for a companys sales to reach at least 150000 ... View full answer

blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related An Introduction Programming Questions!