This preview shows page 1. Sign up to view the full content.
Unformatted text preview: 5.125% 189.28 11357.13 5.25% 189.85 11391.59 ... 7.85% 202.16 12129.97 8.0% 202.76 12165.83 The formula to compute the monthly payment is as follows. You can also find the formula on page 46 of the textbook. (loanAmount*monthlyInterestRate)/( 1- 1/(1+monthlyInterestRate)^(numberOfYears*12) ) Your program should also check the inputs of the user so that only positive integer number shall be accepted. If the user enters a negative or non-integer loan amount, or loan period, you should remind the user and ask him/her to enter again. Submission your source code your report following instruction in the syllabus...
View Full Document
This note was uploaded on 04/29/2008 for the course CS 101L taught by Professor Vineyard during the Fall '07 term at Kettering.
- Fall '07