You have just heard that the interest rate on your student l

You have just heard that the interest rate on your student loan will probably increase from the current 6% to a rate as high as 12% annually should the Republicans gain control of the Presidency and the Congress. Write a program that prompts the user for the annual interest rate (e.g. 0.12 for 12% annual interest rate), the number of years, and the amount of the loan (principal).

The program must use a value-returning function called \"calculate_monthly_payment\" to calculate the monthly payment.

Execute your program using the estimated amount of your student loan, the interest rate that you think you will pay, and the length of time that you think that it will take you to pay it off. Paste your code and your output as a comment in the space below.

must use a value returning function

code must be done in c++

also you must prompt the user for the given inputs using cin and couts

Solution

Here is the code :

OUTPUT:

Hope,my answer helped you.Any further doubts,please feel free to ask us,we will love to help you .

You have just heard that the interest rate on your student loan will probably increase from the current 6% to a rate as high as 12% annually should the Republic

Get Help Now

Submit a Take Down Notice

Tutor
Tutor: Dr Jack
Most rated tutor on our site