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...



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.



May 26, 2022
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here