Question: please, use jave for this coading and use (main ) and ( classes) show all step in question PARTA: LoanCalculator Requirements Step 1: Create a
please, use jave for this coading
and use (main ) and ( classes)
show all step in question



PARTA: LoanCalculator Requirements Step 1: Create a LoanCalculator class with the following structure /*This class provides the service of calculating the payment necessary to pay off a loan/ public class LoanCalculator [ public double monthlyPayment double principle, double interestRate, int term) //missing code.... public void displaySchedule ( double principle, double interestRate, int term) //missing code... //end of class LoanCalculator Step 2: The interestR between 0.0 and 100.0 (e.g. 5.0 for 5%). Step 3: Provide the public double monthlyPayment (double principle, double interestRate, int term) method that returns the dollar amount that would be required to pay off the principle at the given in the monthly interest rate as a fraction (i.e. interestRate/100/12) and t the term in months then the monthly payment is given by the formula: monthlyPayment = A * r * (r + 1)' / ((r + 1)-1 ) Step 4: The pri number of months over which the loan is to be paid off. Step 5: Provide the public void dis laySchedule () method which will display on System.out the repayment schedule of the loan. See the sample output for the program shown below ate parameter should be the annual interest rate expressed as a double terest rate over the term. If A is the principle, r ciple should be the amount of money borrowed and the term should be the Step 6: The displaySchedule ) method should show the total amount of money paid (see sample output below). Step 7: All money values should be shown with two decimal places (e.g. $100.00) and a S sign
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
