Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

(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

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Database Security XI Status And Prospects

Authors: T.Y. Lin, Shelly Qian

1st Edition

0412820900, 978-0412820908

More Books

Students also viewed these Databases questions

Question

=+ d. What happens to Oceanias trade balance?

Answered: 1 week ago