In this exercise, you modify the program from Lab 9-2 in Chapter 9. If necessary, create a new project named TryThis11 Project and save it in the Cpp7\Chap10 folder. Copy the instructions from the Lab9-2.cpp file into a source file named TryThis11.cpp. (The Lab9-2.cpp file is contained in either the Cpp7\Chap09\Lab9-2 Project folder or the Cpp7\Chap09 folder. Alternatively, you can enter the instructions from Figure 9-50 into the TryThis11.cpp file.) Change the filename in the first comment to TryThis11.cpp. Modify the program to use a void function named displayPayment. The displayPayment function should accept a monthly payment and then display the monthly payment on the screen. Save and then run the program. Test the program using 16000, 3000, .08, .03, and 4 as the car price, rebate, credit union rate, dealer rate, and term, respectively. The monthly payments should be $317.37 and $354.15. (The answers to TRY THIS Exercises are located at the end of the chapter.)
REFERENCE: Lab 9-2 in Chapter 9
FIGURE 9-50
We need at least 10 more requests to produce the solution.
0 / 10 have requested this problem solution
The more requests, the faster the answer.