2. AIM……
To develop a software for solving financial applications of a
customer in banking environment in order to nurture the
needs of an end banking user by providing various ways
to perform banking tasks. Also to enable the user’s
workspace to have additional functionalities which are not
provided under a conventional banking software.
3. PROBLEM DESCRIPTION..
The bank management system is an application for
maintaining a person’s 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.
5. INTRO OF BANKING
MANAGEMENT
void intro()
{
cout<<"nnnt BANK";
cout<<"nntMANAGEMENT";
cout<<"nnt SYSTEM";
cout<<"nnnnMADE BY : your name";
cout<<"nnSCHOOL : your school name";
cin.get();
}
6. MAIN MENU
int main()
{
char ch;
int num;
{
cout<<"nnntMAIN MENU";
cout<<"nnt01. NEW ACCOUNT";
cout<<"nnt02. DEPOSIT AMOUNT";
cout<<"nnt03. WITHDRAW AMOUNT";
cout<<"nnt04. BALANCE ENQUIRY";
cout<<"nnt05. ALL ACCOUNT HOLDER LIST";
7. CONT…
cout<<"nnt06. CLOSE AN ACCOUNT";
cout<<"nnt07. MODIFY AN ACCOUNT";
cout<<"nnt08. EXIT";
cout<<"nntSelect Your Option (1-8) ";
cin>>ch;
}
return 0;
}
8. CREATE ACCOUNT..
void account::create_account()
{
cout<<"nEnter The account No. :";
cin>>acno;
cout<<"nnEnter The Name of The account Holder : ";
cin.ignore();
cin.getline(name,50);
cout<<"nEnter Type of The account (C/S) : ";
cin>>type;
type=toupper(type);
cout<<"nEnter The Initial amount(>=500 for Saving and >=1000 for current ) : ";
cin>>deposit;
cout<<"nnnAccount Created..";
}
10. TO DELETE THE ACCOUNT..
void delete_account(int n)
{
account ac;
ifstream inFile;
ofstream outFile;
inFile.open("account.dat",ios::binary);
if(!inFile)
{
cout<<"File could not be open !! Press any Key...";
return;
}
12. DISPLAY ALL ACCOUNTS…
void display_all()
{
account ac;
ifstream inFile;
inFile.open("account.dat",ios::binary);
if(!inFile)
{
cout<<"File could not be open !! Press any Key...";
return;
}
14. DEPOSIT AMOUNT..
void deposit_withdraw(int n, int option)
{
int amt;
bool found=false;
account ac;
fstream File;
File.open("account.dat", ios::binary|ios::in|ios::out);
if(!File)
{
cout<<"File could not be open !! Press any Key...";
return;
}
while(!File.eof() && found==false)
{
15. CONT..
File.read(reinterpret_cast<char *> (&ac), sizeof(account));
if(ac.retacno()==n)
{
ac.show_account();
if(option==1)
{
cout<<"nntTO DEPOSITE AMOUNT ";
cout<<"nnEnter The amount to be deposited";
cin>>amt;
ac.dep(amt);
}
if(option==2)
16. WITHDRAW AMOUNT..
{
cout<<"nntTO WITHDRAW AMOUNT ";
cout<<"nnEnter The amount to be withdraw";
cin>>amt;
int bal=ac.retdeposit()-amt;
if((bal<500 && ac.rettype()=='S') || (bal<1000 && ac.rettype()=='C'))
cout<<"Insufficience balance";
else
ac.draw(amt);
}
19. 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.”