Question: In this exercise, you will modify the car payment program from Lab 9-2. If necessary, create a new project named Intermediate19 Project, and save it
In this exercise, you will modify the car payment program from Lab 9-2. If necessary, create a new project named Intermediate19 Project, and save it in the Cpp81Chap09 folder. Copy the instructions from the Lab9-2.cpp file into a source file named Intermediate19.cpp. (Alternatively, you can enter the instructions from Figure 9-34 into the Intermediate19.cpp file.) Change the filename in the first comment. Make the modifications listed in Figure 9-39. Test the program appropriately. 19. Before calculating a monthly payment, verify that the denominator in the periodic payment formula is not the number 0. If it is 0, the function should return the number -1 (the negative number 1). 1. 2. In addtion to displaying the monthly payments, the program should also display the following two amounts: The total amount the user will pay for the car if the loan is financed through the credit union. a. b. The total amount the user will pay for the car if the loan is financed through the car dealer. Figure 9-39
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
