Answered step by step
Verified Expert Solution
Question
1 Approved Answer
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 ConsoleStep by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started