Question: PLEASE DO NOT USE ADVANCED TECHNIQUES. No map, hashmap. Just simple code that a beginner would use for Java write a JAVA program for Mortgage
PLEASE DO NOT USE ADVANCED TECHNIQUES. No map, hashmap. Just simple code that a beginner would use for Java
write a JAVA program for Mortgage Calculator
Modify your mortgage to include two methods.
- A method to get principal, rate, and term.
- A method to calculate monthly payment.
Test your program by getting the data from the user by using the first method and calculate monthly payment by using other method. Write proper comments.
Input Validation: Do not accept negative values for loan amount (principal), rate, and term.
Loan amount should be between 100,000 and 1,000,000 (inclusive).
(You cannot use global variables for this assignment.)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
