//Demonstrates a public Class
// File name is CalculateMonthlyPayment.java
public class CalculateMonthlyPayment
{
// Calculate the ComputeMonthlyPayment method
public static void main(String[] args){
// Initial Conditions
//declares variable and array for different laon and defines hard coded values
double principal = 200000;
double interestYearly = 0.0535;
int lengthInYears = 7;
// principal is the amount of the loan
// lengthInYears is the term of the loan in years