Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

You have just heard that the interest rate on your student loan will probably in

ID: 3785909 • Letter: Y

Question

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

Explanation / Answer

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 .

Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
Chat Now And Get Quote