Question: This is all one problem. Please help me solve execute this using java QUESTION 2: PART A: LoanCalculator Requirements Step 1: Create a Loancalculator class
This is all one problem. Please help me solve execute this using java


QUESTION 2: PART A: 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)t //missing code... . public void displaySchedule double principle, double interestRate, int term) //missing code.. . //end of class LoanCalculator Step 2: The interestRate parameter should be the annual interest rate expressed as a double between 0.0 and 100.0 (e.g. 5.0 for 596). 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 interest rate over the term. If A is the principle, r the monthly interest rate as a fraction (i.e. interestRate/100/12)and t the term in months thern the monthly payment is given by the formula: monthlyPayment = A * r * (r + 1)' / ((r + 1)t-1) Step 4: The principle should be the amount of money borrowed and the term should be the number of months over which the loan is to be paid off
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
