bank management system (edited)

Upload: sandravijayabhadran

Post on 02-Jun-2018

241 views

Category:

Documents


3 download

TRANSCRIPT

  • 8/10/2019 Bank Management System (Edited)

    1/19

    BANKING SYSTEM MANAGEMENT

    3

    SYSTEM DESCRIPTION

    The bank management system is an application for maintaining a persons account

    in a bank. The system provides the access to the customer to create an account,

    deposit/withdraw the cash from his account, also to view reports of all accounts

    present. The following presentation provides the specification for the system.

    The main objective of this banking system which is developed in c++ is to provide

    a flexible solutions for banking industry. With this system both type of users such

    as bank customers and working personnel of the particular bank will find easy to

    use and able to perform all their operations using this system.

    This system enable its users to open and close the bank account. Customers will

    able to withdraw and deposit amount to their particular account. It will also able to

    generate transactions on money for particular Working personnel of the particular

    bank will make to make all the operations which are required within the banking

    premises. The operations which can be performed by the bank personnel are:

    Adding new customer account, edit existing customer account, list all customer

    details including their account number, able to generate daily and monthly business

    transactions report etc. Its user friendly graphical mode will made its users to

    customer account. Work with this new system in more interactive way.

  • 8/10/2019 Bank Management System (Edited)

    2/19

    BANKING SYSTEM MANAGEMENT

    4

    REQUIREMENT ANALYSIS

    List of classes

    1.

    class account

    List of functions

    1.

    void create_account();

    2. void show_account();

    3. void modify();

    4.

    void dep(int);5.

    void draw(int);

    6.

    void report();

    7.

    int retacno();

    8. int retdeposit();

    9. char rettype();

    10.void write_account();

    11.

    void display_sp(int);

    12.

    void modify_account(int);

    13. void delete_account(int);

    14. void display_all();

    15. void deposit_withdraw(int,int);

    16. void intro();

    List of files

    1.

    account.dat

  • 8/10/2019 Bank Management System (Edited)

    3/19

    BANKING SYSTEM MANAGEMENT

    5

    HARDWARE AND SOFTWARE REQUIREMENTS

    HARDWARE REQUIREMENTS

    The hardware that is needed for our system is:

    Processor (CPU) : Intel(R) Core(TM) [email protected] Memory (RAM): 4GB

    System Type : 64 bit Operating systemPen and Touch : No pen or touch input is available for this display

    SOFTWARE REQUIREMENTS

    C++ programming is the software used.

  • 8/10/2019 Bank Management System (Edited)

    4/19

    BANKING SYSTEM MANAGEMENT

    6

    DATA FLOW DIAGRAM

    Storage:

    account.dat

    Create an

    account

    Depositing

    /withdrawing

    amount

    Modify an

    account

    Delete an

    account

    Displaying

    details of all

    the account

    Display

    details of an

    BANK

    MANAGEMENT

  • 8/10/2019 Bank Management System (Edited)

    5/19

    BANKING SYSTEM MANAGEMENT

    7

    DATA DESIGN

    MEMBERS DESCRIPTIONint acno; Account number

    char name[50]; Name of the account holder

    int deposit; Deposit

    char type Type of account

  • 8/10/2019 Bank Management System (Edited)

    6/19

    BANKING SYSTEM MANAGEMENT

    8

    DATA DICTIONARY

    MEMBER NAME DATA TYPE DESCRIPTION

    Account number Integer() To store the accountnumber

    Name Character() To store the name of the

    account holder

    Deposit Integer() Provides options todeposit amount from the

    given account number.

    Type Character() To store the type ofaccount

  • 8/10/2019 Bank Management System (Edited)

    7/19

    BANKING SYSTEM MANAGEMENT

    9

    FUNCTION DESIGN

    FUNCTION NAME FUNCTION DESCRIPTION

    Create _account(); Function for creating a new account

    Show_account(); Function to display the details in an

    account

    Modify(); Function to modify the account

    Dep(int); Function to deposit some amount in an

    account

    Draw(); Function to withdraw the amount froman account

    Report(); Function to show in tabular form

    Retacno() Function to return account number

    Retdeposit(); Function to return balance amount

    Retype(); Function to return type of the account

    Write_account(); Function to write record in binary file

    Display_sp(int); Function to display account detailsgiven by the user

    Modify_account(); Function to modify record of file

    Delete_account(int); Function to delete record of file

    Display_all(); Function to display all account details

    Deposit_withdraw(int,int); Function to deposit/withdraw amount

    for a given accountIntro(); Introductory screen function

  • 8/10/2019 Bank Management System (Edited)

    8/19

    BANKING SYSTEM MANAGEMENT

    10

    SOURCE CODE

    #include

    #include

    #include#include#include

    #includeclass account

    {

    int acno;

    char name[50];int deposit;

    char type;

    public:void create_account();void show_account();

    void modify();void dep(int);

    void draw(int);void report();

    int retacno();int retdeposit();

    char rettype();};

    void account::create_account(){

    coutacno;coutdeposit;cout

  • 8/10/2019 Bank Management System (Edited)

    9/19

    BANKING SYSTEM MANAGEMENT

    11

    cout

  • 8/10/2019 Bank Management System (Edited)

    10/19

    BANKING SYSTEM MANAGEMENT

    12

    }

    void write_account();void display_sp(int);

    void modify_account(int);

    void delete_account(int);void display_all();

    void deposit_withdraw(int,int);void intro();

    int main()

    {

    char ch;int num;

    clrscr();

    intro();do{

    clrscr();

    cout

  • 8/10/2019 Bank Management System (Edited)

    11/19

    BANKING SYSTEM MANAGEMENT

    13

    case '3':

    coutnum;

    deposit_withdraw(num,2);

    break;case '4':

    coutnum;

    display_sp(num);break;

    case '5':

    display_all();break;

    case '6':

    coutnum;delete_account(num);

    break;

    case '7':coutnum;

    modify_account(num);break;

    case '8':

    cout

  • 8/10/2019 Bank Management System (Edited)

    12/19

    BANKING SYSTEM MANAGEMENT

    14

    outFile.close();

    }void display_sp(int n)

    {

    account ac;int flag=0;

    ifstream inFile;inFile.open("account.dat",ios::binary);

    if(!inFile){

    cout

  • 8/10/2019 Bank Management System (Edited)

    13/19

    BANKING SYSTEM MANAGEMENT

    15

    {

    ac.show_account();cout

  • 8/10/2019 Bank Management System (Edited)

    14/19

    BANKING SYSTEM MANAGEMENT

    16

    }

    void display_all(){

    account ac;

    ifstream inFile;inFile.open("account.dat",ios::binary);

    if(!inFile){

    cout

  • 8/10/2019 Bank Management System (Edited)

    15/19

    BANKING SYSTEM MANAGEMENT

    17

    cout

  • 8/10/2019 Bank Management System (Edited)

    16/19

    BANKING SYSTEM MANAGEMENT

    18

    OUTPUT

  • 8/10/2019 Bank Management System (Edited)

    17/19

    BANKING SYSTEM MANAGEMENT

    19

  • 8/10/2019 Bank Management System (Edited)

    18/19

    BANKING SYSTEM MANAGEMENT

    20

  • 8/10/2019 Bank Management System (Edited)

    19/19

    BANKING SYSTEM MANAGEMENT

    21

    CONCLUSION

    This project is developed to nurture the needs of a user in a banking sector

    by embedding all the tasks of transactions taking place in a bank.

    Future version of this software will still be much enhanced than the current

    version 1.0.Thus the Bank Management System it is developed and executed

    successfully.