In this exercise, you will modify the program from Lab 9-2 in Chapter 9. If necessary, create

Question:

In this exercise, you will modify the program from Lab 9-2 in Chapter 9. If necessary, create a new project named ModifyThis13 Project, and save it in the Cpp8\Chap10 folder. Copy the instructions from the Lab9-2.cpp file (which is contained in either the Cpp8\Chap09\Lab9-2 Project folder or the Cpp8\Chap09 folder) into a source file named ModifyThis13.cpp. (Alternatively, you can enter the instructions from Figure 9-34 into the ModifyThis13.cpp file.) Change the filename in the first comment to ModifyThis13.cpp. Change the getPayment function to a void function. Test the program appropriately.

1 //Lab9-2. cpp - di splays two monthly car payments 2 //Created/revised by  on  4 #include  5 #include  6 #include  7 using namespace std; 8 9 //function prototype 10 double getPayment (int, double, int);- the names of the formal parameters are not required 11 12

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

Step by Step Answer:

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