Results 1 to 3 of 3
  1. #1
    quocdaicavt is offline Member
    Join Date
    Jul 2012
    Rep Power

    Default Help me with java program !!!

    Write a Java program for a bank that will calculate the monthly interest earned on a cash
    deposit. The user enters the amount deposited, the term, and interest rate. The program will
    then display a table listing for the month, interest, total interest, and account balance for each
    period. For example, if the amount deposited is $2000.00, the term is 6 months and the
    interest rate is 2%, the following output will be displayed: [10 marks]

    Period Interest Total Interest Total Balance
    1 6.66 6.66 2006.60
    2 6.69 13.35 2013.35
    3 6.71 20.06 2020.06
    4 6.74 26.80 2026.80
    5 6.75 33.55 2033.55
    6 6.78 40.33 2040.33

    Initial deposit: $2000.00
    Total Interest: $40.33
    Total Balance: $2040.33
    I can not solve the program because i do not know how to calculate the interest rate

  2. #2
    Fubarable's Avatar
    Fubarable is offline Moderator
    Join Date
    Jun 2008
    Blog Entries
    Rep Power

    Default Re: Help me with java program !!!

    Quote Originally Posted by quocdaicavt View Post
    I can not solve the program because i do not know how to calculate the interest rate.
    This is not a Java question but a math question, and you can find plenty of sites to show you how interest rate is calculated, including Wikipedia. Please feel free to come on back if you have a question related to Java coding itself. Please remember to show us your code attempt always and to explain in detail where you're stuck. Also, you'll want to use a more informative question title. "help me java program" doesn't tell us anything about what your problem currently is. Best of luck.

  3. #3
    DarrylBurke's Avatar
    DarrylBurke is offline Forum Police
    Join Date
    Sep 2008
    Madgaon, Goa, India
    Rep Power

    Default Re: Help me with java program !!!

    Moved from Java Software

    If you're forever cleaning cobwebs, it's time to get rid of the spiders.

Similar Threads

  1. Call one Java Program from another Java Program
    By rajpalparyani in forum New To Java
    Replies: 3
    Last Post: 02-14-2011, 04:13 AM
  2. Replies: 4
    Last Post: 07-30-2010, 12:25 PM
  3. execute java program within java program
    By popey in forum New To Java
    Replies: 2
    Last Post: 10-22-2009, 05:32 PM
  4. Replies: 0
    Last Post: 04-04-2008, 02:40 PM
  5. Replies: 0
    Last Post: 10-04-2007, 09:33 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts