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
ModifyThis17cpp Displays the number of years required for a companys sales to reach at least 150000 ... View full answer
Get step-by-step solutions from verified subject matter experts
