Question: I need help writing a java program to: 1. To calculate monthly payment 2. To print out monthly payment and total interest payment for the
I need help writing a java program to: 1. To calculate monthly payment 2. To print out monthly payment and total interest payment for the duration of loan rounded to its nearest integer.
A person has taken a loan of $6000.00 for a fixed annual interest rate of 6% for 5 years with no down payment. The monthly payment has been fixed at $116.00 for entire term of the loan. Here is the formula to calculate monthly fixed payment:
P = (monthly rate * Loan amount) / (1 - (1+monthly interest rate)^-n) Here n is no of payment periods.
If the input is 6000~5~6~0 the output should give $116.00~$960]. If the input is 5000~5~6~0 the output should give $96.66~$800

r(PV) 1-(1r)- P= P = Payment PV = Present Value ate per period n = number of periods
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
