Jump to content

Calculator that checks mortgage options

- - - - -

  • Please log in to reply
1 reply to this topic

#1
Roxanne Mays

Roxanne Mays

    Newbie

  • Members
  • Pip
  • 1 posts
Please help I have been up for over 24 hours writing and rewriting code but I cannot get it to compile because it says I have errors but I can't seem to find them thanks.

This is my math formula for my calculator
double monRate = ((rate / 12) / 100);
double monTerm = term * 12;
double pmt = amt * ( monRate /(1 - Math.pow(1 + monRate, -monTerm)));

This is what I have been working on

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. Display the mortgage payment amount followed by the loan balance and interest paid for each payment over the term of the loan. 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.

#2
ZekeDragon

ZekeDragon

    Writes binary right handed and hex left handed

  • Moderators
  • 2,103 posts
What code have you written so far?
Wow I changed my sig!




1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users