You are on page 1of 4

Abstract : -

As per my term paper “Banking Management system”, I have


worked on the developing a source code in c++ for management of
bank.

In this term paper I have developed a source code that deals with
day to day customers interaction in the bank for deposit and
withdrawal of cash. In my program there will be information about
all the account holders like name, account number, total balance,
deposit balance, withdrawal balance and the residual balance.

In this program I will develop member functions that has following


categories:

 Input_data
 Display_data

In each account there are the following information:

 Number of accounts
 account number
 name of depositer
 deposit cash
 balance
 withdraw cash
 new balance
 minimum account balance=rs 500

In the developed source code there will be following data


members:

 accountno
 name
 deposit
 balance
 newbal
 withdraw

Source code: -

#include<iostream.h>

#include<conio.h>

class account

private:

int accountno,newbal,deposit,withdraw;

char name[15];

double balance;

public:

void input_data()

cout<<"enter account no="<<"\n";

cin>>accountno;

cout<<"name="<<"\n";

cin>>name;

cout<<"deposit="<<"\n";

cin>>deposit;

cout<<"withdraw=";

cin>>withdraw;
balance=deposit;

newbal=balance-withdraw;

void display_data()

cout<<"\nAccount number=\t"<<accountno;

cout<<"\nAccount holder name=\t"<<name;

cout<<"\nAccount balance=\t"<<balance;

cout<<"\nWithdrawn=\t"<<withdraw;

if(newbal>500)

cout<<"\nNew balance=\t"<<newbal;

else

cout<<"\nyou are not permitted\t";

};

int main()

clrscr();

account acc[10];

int n;

cout<<"\nEnter no of account holder=";

cin>>n;

for(int i=0;i<n;i++)
{

acc[i].input_data();

for(i=0;i<n;i++)

cout<<"\nInformation of account="<<i+1;

acc[i].display_data();

getch();

return 0;

You might also like