Results 1 to 2 of 2
  1. #1
    aou
    aou is offline Member
    Join Date
    Aug 2012
    Posts
    6
    Rep Power
    0

    Default program ,deposit of an amount of money in a bank

    dear
    please i need ur help on this question please any hint

    A customer makes a deposit of an amount of money in a bank, this amount is designed by IniAmount ,
    The bank gives 6% of compound interest, which means that at the end of the year, the new amount is calculated based on FinAmount.
    What you should do:
    You should write a java code; This code should calculate the FinAmount at the end of each year.
    Java Code:
    The output should have this structure:
    IniAmount = 100 $
    
    Year    FinAmount
    
    1         amount1
    2         amount2
    .          .
    .          .
    .          .
    10       amount10
    And same output, for IniAmount = 1000$.

    Part b:
    In this part, you take the same problem, but this time, you should write a java code, that calculate the number of years, after what the FinAmount becomes the double of IniAmount.
    The output should be as following:
    Java Code:
    IniAmount        Interest   Number of year
    
    100                 3%             n
    1000               2%             n
    10000             1.5%          n

  2. #2
    doWhile is offline Moderator
    Join Date
    Jul 2010
    Location
    California
    Posts
    1,642
    Rep Power
    6

Similar Threads

  1. Replies: 12
    Last Post: 08-04-2012, 09:35 PM
  2. Bank program difficulties
    By LifeElixer in forum New To Java
    Replies: 8
    Last Post: 10-21-2011, 04:42 AM
  3. Replies: 4
    Last Post: 11-03-2010, 06:17 PM
  4. Replies: 2
    Last Post: 09-25-2010, 07:03 PM
  5. Work & Earn money from home, use rebate lower price save money $$$
    By arturmoniswork in forum Reviews / Advertising
    Replies: 0
    Last Post: 12-30-2008, 05:57 AM

Posting Permissions

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