374152 Project for Areca
N/A
Thanh toán khi bàn giao
Write the program in Java (without a graphical user interface) and have it calculate the payment amount for 3 mortgage loans:
7 years at 5.35%
15 years at 5.5%
30 years at 5.75%
Use an array for the different loans. Display the mortgage payment amount for each loan.
Name the program file [url removed, login to view],
Note:
1. The loan amount is not specified in CR #2. The program must add an interface to prompt the user to enter a loan amount.
2. Error checking should be done on the input loan amount to make sure that it is a positive number and is not zero.
3. As an example, if the user enters $200000.00 as the loan amount, the result of your program should show:
Loan amount $200000
Loan Term Interest Rate Mortgage Payment
7 years 5.35% $2859.79
15 years 5.5% $1634.17
30 years 5.75% $1167.15
ID dự án: #2119997