Question: (JAVA Program) Modify the mortgage program to allow the user to input the amount of a mortgage and then select from a Menu (Term and

(JAVA Program) Modify the mortgage program to allow the user to input the amount of a mortgage and then select from a Menu (Term and Rate) of mortgage loans: 7 years at 5.35%, 15 years at 5.5%, and 30 years at 5.75%. Use another Menu for Rest or Exit. Display the mortgage payment amount. Then, list the loan balance and interest paid for each payment over the term of the loan in a JTextArea. Allow the user to loop back and enter a new amount and make a new selection, or quit. Write your own exceptions to validate your data by using try and catch blocks. For example, the loan amount cannot be a negative number and it should be between $5000 and $1000,000. Terms cannot be negative and should be between 10 and 40 years. Insert comments in the program to document the program.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!