/* Individual Assignment 3: Mortgage Terms and Interest Rate Discounts Program Author: Wonda Briagar Date March 5,2006 File Name: MortgageProgramWk3.Java Program Description: Modify the mortgage program to display 3 mortgage loans: 7 year at 5.35%, 15 year at 5.5 %, and 30 year at 5.75%. Program Version 3 Individual Assignment 2: Amortization Schedule Calculator Date Created:February 28,2006 File Name: AmorizationSchedule.Java Date Modified and corrected: March 4,2006 Program Description: This is a modificatiion of initial Mortgaage Program. In this program I will create a program that will display principal mortgage amount, terms and payment. list the loan balance and interest paid for each payment over the term of the loan. The list would scroll off the screen, but use loops to display a partial list, hesitate, and then display more of the list Program Version 2 Individual Assignment 1: Mortgage Calculator Date Created:February 24,2006 File Name: MortgageCalculator.Java Date Modified and corrected: March 1,2006 Program Description: Write a Java program without a graphical user interface that calculates and displays the mortgage payment amount given the amount of the mortgage, the term of the mortgage, and the interest rate of the mortgage. In this program, hard code the amount = $200,000, the term = 30 years, and the interest rate = 5.75%. Insert comments in the program to document the program. Program Version 1 */ import java.text.DecimalFormat; //class description class MortgageProgramWk3 { public static void main(String arguments[]) { //This class is used to extend number format it used to format number values in any locale ; two decimal format and comma for 1,000's. DecimalFormat currency = new DecimalFormat(",000.00"); double [][] loans = { //Declared program array {84, .0535}, {180, .0550}, {360, .0575},}; // Prinicipal loan amount from initial program double mortgaged = 200000; int term = 0; double interestRate = 0.0; double monthlyRate = 0.0; double discountFactor = 0.0; double payment = 0.0; System.out.println("Number \t" + "Interest \t" + "Ending Balance"); //for (int i=0; i<3; i++) for (int i=0; i