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 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:
piinin
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
n The number amount of months to payoff the mortgage
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
