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
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started