Mortgage payment Calculator
Write a program that stores the mortgage loan amount, apr, and term, and uses those values to calculate the monthly payment. It will use the following formula:
P * r / n P = Loan amount
------------------- r = APR (e.g. 0.08)
1 - (1 + r/n)^-nt n = Number of payments made per year
t = Term (years)
- Have it display the value to 2 decimals, and including commas as needed for values greater than 999