Question: Create a java program called MortgageCalculatorXYZ.java ( replace XYZ by your first and last names ) Prompt the user to enter the loan amount, annual

Create a java program called MortgageCalculatorXYZ.java (replace XYZ by your first and
last names)
Prompt the user to enter the loan amount, annual interest rate percentage (as
decimal) and number of years to payoff the loan. Calculate and display the monthly
payment with 2 decimals and comma as thousand separator. You MUST use a method
to calculate the monthly payment. Any submission with no method will NOT receive
credit. Sample runs are attached. Submit your Java file. No other file types will be
accepted.
To calculate the monthly payment, use the following equation:
p(i(1+i)^(n))/((1+i)^(n)-1)
where:
m= Total monthly payment
p= The total amount of your loan
i= Your interest rate, as a monthly percentage (if interest is annual, then divide by 12)
n= The number amount of months to payoff the mortgage
Create a java program called

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 Programming Questions!