Write a subroutine that reads in values for a loan principal amount p, an annual interest rate rannual, and the number of months m in which the loan is to be paid off.
The monthly payment is given by the formula
where the monthly interest rate r = rannual /12. The subroutine should print out a
monthly schedule of the interest, principal paid, and remaining balance. Test the
subroutine with a program that calls it with p = $106,500, rannual = 7.25%, and m =
240 months.
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here