Question: JAVA ONLY!! Remember that the interest rate is the YEARLY interest rate given to you as a percentage. You are to write a program
JAVA ONLY!!
\
Remember that the interest rate is the YEARLY interest rate given to you as a percentage.
You are to write a program that lets the user enter the loan amount and loan period in number of years and displays the monthly and total payments for each interest rate starting from 5% to 8%, with an increment of 1/8%. You may use any type of loop that you want, but you MUST use a loop. Call your class Loans The loan amount will be a double value, and the years will be an integer. Output is provided on the next pages. Here is the formula for calculating monthly payments: payment -loan l+e - c = the MONTHLY interest rate n = number of payments (remember, this is MONTHLY) Sample Outputs: E Console
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
