Can anyone help me to write java program?
I'm using BlueJ for this assignment.

This assignment is to write a program to calculate loan repayments. Banks and/or finance companies loan customers money (usually called a mortgage) so they can make large purchases (such as a house or a car). Each month a repayment is made that includes interest due on the outstanding amount, plus some of the remaining amount (called principal). Over the life of the loan, the amount of interest payable per month reduces, whilst the amount of principal paid each month increases. You will write a mortgage (loan repayment) calculator in java to run in the terminal window of BlueJ.

The monthly payment for a fixed rate mortgage is the amount paid by the borrower every month that ensures that the loan is paid off in full with interest at the end of its term.

This is calculated by the following formula:

c = (r / (1 − (1 + r) − N))P

Where:

r is the interest rate r (expressed as a decimal, not a percentage, i.e., divide the quoted yearly percentage rate by 100 and by 12 to obtain the monthly interest rate);
N is the number of payments usually 12 times the duration of the loan in years;
P is the amount borrowed P known as the loan's principal;

The program will have a 3 option menu as shown below to Exit, calculate a specific mortgage repayment, and to produce a mortgage repayment table;
The program will use the BlueJ terminal window (again as shown below);
The program will have ‘reasonable editing’ – i.e. – one should not be able to enter ‘fred’ as a mortgage amount;
Numbers output should be formatted nicely, in a similar way to the sample run.
You shall test it with at least four test cases and provide screen dumps in the report to evidence your testing;
You should provide a short report and assignment cover sheet; the report must include evidence of testing and also a list of any problems you encountered and how you overcame them.

Yes, people here will help - but do read the DaniWeb rules first, especially
"Do provide evidence of having done some work yourself if posting questions from school or work assignments"
http://www.daniweb.com/community/rules

commented: Yep; those are the rules. +6
Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.