477335 SR-mf-003 Change Request 7

SR-mf-003, Change Request 7

Write the program in Java (with a graphical user interface) and have it calculate and display the mortgage payment amount from user input of the amount of the mortgage and the user's selection from a menu of available mortgage loans:

- 7 years at 5.35%

- 15 years at 5.5%

- 30 years at 5.75%

Use an array for the mortgage data for the different loans. Read the interest rates to fill the array from a sequential file. Display the mortgage payment amount followed by the loan balance and interest paid for each payment over the term of the loan. Add graphics in the form of a chart. Allow the user to loop back and enter a new amount and make a new selection or quit. Please insert comments in the program to document the program.

My teacher wants a histogram as listed below:

// Purpose: A Graphing class..

import javax.swing.*;

public class Histogram


public static void main(String args[])


int n[] = {19, 3, 20, 7, 13, 19, 3, 19,1};

String output = "";

output += "Element \tValue\tHistogram";

for (int i = 0; i < [url removed, login to view]; i++)


output += "\n" + i + "\t" + n + "\t";

//prints the bar

for (int j = 1; j <= n; j++)

output += '*';


JTextArea outputArea = new JTextArea(11, 30);

[url removed, login to view](output);

[url removed, login to view](null , outputArea,

"Histogram Class",


[url removed, login to view](0);



Please provide this completed in a text or java file.

Beceriler: Her şey Kabul, Java

Daha fazlasını gör: string j, loop back, java 1.5 for loop, int i, graphing of data, graphing in java, graphing in c, graphing data, graphing and data, data request system, data graphing, data for graphing, data and graphing, c graphing, sr, request payment, mf, java teacher, histogram, java mortgage, write java program read, request text, void input data, change text file, display string file java

İşveren Hakkında:
( 1 değerlendirme )

Proje NO: #2223242



Ready to Do it.

%selectedBids___i_period_sub_7% gün içinde 20%project_currencyDetails_sign_sub_9% %project_currencyDetails_code_sub_10%
(202 Değerlendirme)