Answered step by step
Verified Expert Solution
Question
1 Approved Answer
java Displaying the loan amortization schedule The monthly payment for a given loan pays the principal and the interest. The formula to compute the monthly
java
Displaying the loan amortization schedule The monthly payment for a given loan pays the principal and the interest. The formula to compute the monthly payment is as follows: Monthly pay = (loanAmount * monthlyInterestRate)/(1-1/(1+ monthlyInterest Rate) humor years ? )) The monthly interest is computed by multiplying the monthly interest rate and the balance (the remaining principal). The principal paid for the month is therefore the monthly payment minus the monthly interest. Write a program that lets the user enter the loan amount, the number of years, and the interest rate, and displays the amortization schedule for the loan. Suppose you enter the loan amount for 10000 for one year with an interest rate of 7%, display a table as follows: Payment # Interest Principal Balance 1 58.33 53.62 48.89 806.93 811.64 816.37 9193.07 8381.43 7565.06 14.96 10 5.01 850.3 855.26 860.25 1715.53 860.27 0.01 Note: Use the GUI interface to input the values and display the table on to an output file. Must import the necessary files to read using GUI and output the table to external output file. Also use Math class to compute the power of a number. Use DecimalFormat class to reduce the decimal to two placesStep 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