1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

intro

Discussion in 'Meet and Greet' started by Monal Kumar, May 18, 2011.

  1. Monal Kumar

    Monal Kumar New Member

    Joined:
    May 18, 2011
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    0
    hi, my name's Monal, from Fiji.

    also doing programing as most of you are already into it.
     
  2. Monal Kumar

    Monal Kumar New Member

    Joined:
    May 18, 2011
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    0
    wel to tel the fact, programming is really difficult for me.

    have one task to be completed but i dont have idea a whom to ask.

    maybe my friends or rather "programmers'' can help me with it.
     
  3. Monal Kumar

    Monal Kumar New Member

    Joined:
    May 18, 2011
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    0
    I have the following task to do...would be grateful if someone could help me with this .......

    Our Farmers bank is small bank in the highlands of Nadarivatu. The bank has very simple
    role, it takes only deposits and withdrawals from customers. Due to increase in the
    number of its account holders it has become very difficult to manually track deposits and
    withdrawals thus there is a need for computerized software to handle this.
    You are required to write a program for this.
    There would be a file accounts.txt. It would contain data in the following format.
    Eg.
    56789765 – refers to account number.
    21-may-2009 – refers to the day transaction occurred ( this should be string).
    1400.00 – refers to the amount.
    Dep – refers to deposit.
    Your program would perform these tasks.
    Write a complete program in C++. The program should have the main menu as follows:
    Page 2 of 3
    Farmers Bank
    ****************************
    1. Deposit
    2. Withdrawal
    3. Account Balance
    4. Bank Statement
    1. Deposit – allows customers to deposit money in the bank. The user would have to
    provide account number, date, and amount. Firstly the program would verify if the
    customer exists. If the customer exists his deposit would be accepted if not his deposit
    would be rejected. Deposit details would be added at the end of the file.
    2. Withdrawal – allows customers to withdraw money from the bank. The user would
    have to provide account number, date, and amount. Firstly the program would check
    if the customer exits. Secondly it would have to check if there is enough money in the
    bank(Total Deposits less Total Withdrawlas) then only withdrwals can be allowed.
    Withdrwal details would be added at the end of the file.
    3. Account Balance – provide you with current balance on customer account it would
    simply be deposit minus withdrawals.
    4. Account Statement – the program should print a simple statement on the screen e.g.
    The Statement for Account Number 56789763 would be as follows.
    Requirement:
    You have to use the following in order to complete this assignment.
    1. FileInput / FileOutput
    2. Arrays
    3. Functions – there should be a function for deposit, withdrawl and bankstatement
     

Share This Page