Sie sind auf Seite 1von 25

Mr. Pranav Singh Mr.

Manish Singh

ACKNOWLEDGEMENT
This project is a fruitful result of cooperative teamwork with highest degree of compromise. We express our deep sense of gratitude to our guide

Mr.
be

Pranav Singh ,
eloquent project. We are also guidance

and and

Mr. Manish Singh,


valuable suggestion

whose

will

indispensable to bring out successful fulfillment of assigned

indebted

to

Mr.

Shashank

Chaubey
and support.

for his kind, sincere and valuable suggestion

And last but not the least we express our great thanks to all those who directly or indirectly will be contribute to successful completion of our project.

PREFACE
The project entitled Bank Management System has been developed under the guidance of Mr. Pranav Singh, Mr. Manish Singh to cover a part of syllabus although its main purpose is to keep the record of each and every Account, Bank, Employee etc. electronically. The result of our restless efforts in the form of this project is before you and a preface to work of this nature needs justification of its appearance. This project, well we hope, will be found fairly complete and useful to all concerns. In the first place it may be mentioned that most of the description matter contained in this report had been galvanized and enlightened by the standard books and documents available on the internet. In this project we do not claim any perfection as 100% result is not obtained. We have tried our best to present the detailed report of the development of the software package for the Bank Management System including the user-interface.

INTRODUCTION
Project Name: Bank Management System Front End: C

About The Project:

Bank Management System is software which is

used to look after the transactions of different options between the Account and Bank. It is employed in Bank to keep a record of Account. This project includes the following features: 1). It has the feature to add Account, delete Account and search Account data in a Bank Database. 2). It has the feature to allow viewing different facilities of Bank. 3). It maintains all the records of prices and other attributes of Bank.

The project has been implemented in C. The reason for doing so is to get that extra edge which C has over other computer languages. The following features of C have been effectively used in the project: 1). Classes have been used to declare the data types so as to make their use specific and prevent them from any malicious contents. 2). File Handling has been effectively used to save and load the data in the University Database. 3). Data Structures has been used to enable the addition and deletion of customers as well as records from the University Database. 4). Functions have been used to do the coding for the various features being implemented in the mini-project. 5). Constructors and Destructors have been effectively used.

The project has been specifically coded in C to get all the features of an efficient programming language. Moreover the use of Chas made the project look simpler than it would have been, if coded in some other programming language.

SCOPE OF THE PROJECT


Since this project enables us to manage the Account Record through computerized software and also provide a user friendly environment, therefore the person, who has either less knowledge of computer, can easily work with this software. In this software a user can easily add a new record, delete an old record, modify an old record or search a record of any Account in the Bank database that means each and every operation that may be performed on a Account Record are easily accomplished by the Bank administration using this software. This project is like a miniature of the Bank Management System i.e. many more functions of the Account Record can be implemented in this software.

PROBLEM WITH THE CURRENT SYSTEM


Manual management of the huge information in any organization is a cumbersome process. This information is generally unstructured and make up an increasingly large portion of database. This critical information supports from day-to-day information. Unfortunately, this type of information can not easily be stored and managed in traditional files. Moreover it is difficult to search when required. As a result, this unstructured information is not easily available to the people who need it. business transactions to long term strategic

ADVANTAGES OF PROPOSED SYSTEM

This project on Bank Management System helps to reduce the complicacy involved in the working with Accounts Record. This software identifies each Account by its name. If an invalid id is given to the software as input, it displays the message ENTERED DATA IS NOT MATCHING TO ACTUAL DATA. Simply each Account is identified by its ID number. If invalid ID no. is given to the software as input to search any record of Account, it displays the message SORRY: ENTERED DATA IS NOT MATCHING TO ACTUAL DATA. YOU MAY NOT USE THIS FACILITY. The Official clerks can easily add, delete and modify records from the Account Record Database.

COMPUTERIZATION ITS IMPORTANT


As a rule, [s]he who has the most information will have the greatest success

Information is a tool for Management in any business environment and is in use for effective decision-making. The data collected is processed and desired information obtained.

Computerization is the need of hour is an undisputable fact that without the help of IT, there is no possibility to sustain the organization. Computerization has to be implemented in a phased manner. The computerization is absolute necessity, but it has to be taken in a phased manner. The phase relate towards the objective of the whole exercise i.e. faster access of information, for speedier reporting, better planning and decision making.

OBJECTIVE OF THE PROJECT

Bank

Management and

System

is

software

for

adding,

maintaining

retrieving

Banks

Information

whenever

required. The program has been designed for practical use in a day to day life of any individuals or organizations. It has a simple but powerful user interface which can be used even by beginners. It consists of 4 powerful and practical modules and all necessary utilities for backup, restoration of data and changing security settings. Any individual or any organization shall find it an essential powerful tool, which is a must for day to day operations. Simple yet Powerful.

CODING
//*************************************************************** // HEADER FILE USED IN PROJECT //**************************************************************** #include<fstream.h> #include<ctype.h> #include<iomanip.h> #include<conio.h> #include<stdio.h> //*************************************************************** // CLASS USED IN PROJECT //**************************************************************** class account { int acno; char name[50]; int deposit; char type; public: void create_account(); //function to get data from user void show_account(); //function to show data on screen void modify(); //function to get new data from user void dep(int); //function to accept amount and add to balance amount void draw(int); //function to accept amount and subtract from balance amount void report();//function to show data in tabular format int retacno(); //function to return account number int retdeposit(); //function to return balance amount char rettype(); //function to return type of account }; //class ends here void account::create_account() { cout<<"\nEnter The account No. :"; cin>>acno; cout<<"\n\nEnter The Name of The account Holder : "; gets(name); 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<<"\n\n\nAccount Created.."; } void account::show_account() { cout<<"\nAccount No. : "<<acno; cout<<"\nAccount Holder Name : "; cout<<name; cout<<"\nType of Account : "<<type; cout<<"\nBalance amount : "<<deposit; } void account::modify() { cout<<"\nThe account No."<<acno; cout<<"\n\nEnter The Name of The account Holder : "; gets(name); cout<<"\nEnter Type of The account (C/S) : "; cin>>type; type=toupper(type); cout<<"\nEnter The amount : "; cin>>deposit; }

void account::dep(int x) { deposit+=x; } void account::draw(int x) { deposit-=x; } void account::report() { cout<<acno<<setw(10)<<" "<<type<<setw(6)<<deposit<<endl; } int account::retacno() {

"<<name<<setw(10)<<"

return acno; } int account::retdeposit() { return deposit; } char account::rettype() { return type; } //*************************************************************** // function declaration //**************************************************************** void write_account(); //function to write record in binary file void display_sp(int);//function to display account details given by user void modify_account(int); //function to modify record of file void delete_account(int); //function to delete record of file void display_all(); //function to display all account details void deposit_withdraw(int, int); // function to desposit/withdraw amount for given account void intro(); //introductory screen function //*************************************************************** // THE MAIN FUNCTION OF PROGRAM //**************************************************************** int main() { char ch; int num; clrscr(); intro(); do { clrscr(); cout<<"\n\n\n\tMAIN MENU"; cout<<"\n\n\t01. NEW ACCOUNT"; cout<<"\n\n\t02. DEPOSIT AMOUNT"; cout<<"\n\n\t03. WITHDRAW AMOUNT"; cout<<"\n\n\t04. BALANCE ENQUIRY"; cout<<"\n\n\t05. ALL ACCOUNT HOLDER LIST"; cout<<"\n\n\t06. CLOSE AN ACCOUNT"; cout<<"\n\n\t07. MODIFY AN ACCOUNT"; cout<<"\n\n\t08. EXIT";

cout<<"\n\n\tSelect Your Option (1-8) "; cin>>ch; clrscr(); switch(ch) { case '1': write_account(); break; case '2': cout<<"\n\n\tEnter The account No. : "; cin>>num; deposit_withdraw(num, 1); break; case '3': cout<<"\n\n\tEnter The account No. : "; cin>>num; deposit_withdraw(num, 2); break; case '4': cout<<"\n\n\tEnter The account No. : "; cin>>num; display_sp(num); break; case '5': display_all(); break; case '6': cout<<"\n\n\tEnter The account No. : "; cin>>num; delete_account(num); break; case '7': cout<<"\n\n\tEnter The account No. : "; cin>>num; modify_account(num); break; case '8': cout<<"\n\n\tThanks for using bank managemnt system"; break; default :cout<<"\a"; } getch(); }while(ch!='8'); return 0; } //*************************************************************** // function to write in file //**************************************************************** void write_account()

{ account ac; ofstream outFile; outFile.open("account.dat",ios::binary|ios::app); ac.create_account(); outFile.write((char *) &ac, sizeof(account)); outFile.close(); } //*************************************************************** // function to read specific record from file //**************************************************************** void display_sp(int n) { account ac; int flag=0; ifstream inFile; inFile.open("account.dat",ios::binary); if(!inFile) { cout<<"File could not be open !! Press any Key..."; return; } cout<<"\nBALANCE DETAILS\n"; while(inFile.read((char *) &ac, sizeof(account))) { if(ac.retacno()==n) { ac.show_account(); flag=1; } } inFile.close(); if(flag==0) cout<<"\n\nAccount number does not exist"; } //*************************************************************** // function to modify record of file //**************************************************************** void modify_account(int n) { int found=0; 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.read((char *) &ac, sizeof(account)) && found==0) { if(ac.retacno()==n) { ac.show_account(); cout<<"\n\nEnter The New Details of account"<<endl; ac.modify(); int pos=(-1)*sizeof(account); File.seekp(pos,ios::cur); File.write((char *) &ac, sizeof(account)); cout<<"\n\n\t Record Updated"; found=1; } } File.close(); if(found==0) cout<<"\n\n Record Not Found "; } //*************************************************************** // function to delete record of file //**************************************************************** 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; } outFile.open("Temp.dat",ios::binary); inFile.seekg(0,ios::beg); while(inFile.read((char *) &ac, sizeof(account))) { if(ac.retacno()!=n)

{ outFile.write((char *) &ac, sizeof(account)); } } inFile.close(); outFile.close(); remove("account.dat"); rename("Temp.dat","account.dat"); cout<<"\n\n\tRecord Deleted .."; } //*************************************************************** // function to display all accounts deposit list //**************************************************************** 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; } cout<<"\n\n\t\tACCOUNT HOLDER LIST\n\n"; cout<<"====================================================\n "; cout<<"A/c no. NAME Type Balance\n"; cout<<"====================================================\n "; while(inFile.read((char *) &ac, sizeof(account))) { ac.report(); } inFile.close(); } //*************************************************************** // function to deposit and withdraw amounts //**************************************************************** void deposit_withdraw(int n, int option) { int amt;

int found=0; 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.read((char *) &ac, sizeof(account)) && found==0) { if(ac.retacno()==n) { ac.show_account(); if(option==1) { cout<<"\n\n\tTO DEPOSITE AMOUNT "; cout<<"\n\nEnter The amount to be deposited"; cin>>amt; ac.dep(amt); } if(option==2) { cout<<"\n\n\tTO WITHDRAW AMOUNT "; cout<<"\n\nEnter The amount to be withdraw"; cin>>amt; int bal=ac.retdeposit()-amt; if((bal<500 && ac.rettype()=='S') || ac.rettype()=='C')) cout<<"Insufficience balance"; else ac.draw(amt); } int pos=(-1)* sizeof(ac); File.seekp(pos,ios::cur); File.write((char *) &ac, sizeof(account)); cout<<"\n\n\t Record Updated"; found=1; } } File.close(); if(found==0) cout<<"\n\n Record Not Found "; }

(bal<1000

&&

//*************************************************************** // END OF PROJECT

//***************************************************************

SOFTWARE PRINCIPLES TO BE USED

This project is to be developed for a real environment. Therefore a proper Software Principles should be used. For developing this application a standardized international standard software principles should be used like System Analysis and Design. In a typical model the phase should be in this sequence: Recognition of need. Feasibility Study. Analysis. Designing. Implementation. Regular Operation and Maintenance. At each stage a proper approval should be taken before proceeding ahead with next stage. Coding and testing will be

done properly after the approval. In requirement analysis information given I this manual should be properly read it gives

all information relating to the working of present system and thus problems related to existing manual system such as difficulty in maintaining records, unable to provide quick reports and time consuming process. In designing phase the emphasis is given on data structure and software Architecture & Interface characterization. Relation between different tables and nature of different tables and nature of different fields of the tables are established in this phase. The Software should be the solution of the problems, which results out in existing manual system.

Key Features of the Project:


This software offers complete solution to Bank Record management problem by automating tasks. This software has a number of features over the old manual system. Some of the advantages it offers are: Multi-user software. Prompt Response Time i.e. faster information retrieval. Efficient search option. Query Builder, is a very efficient feature which helps user to search for a particular entity by formulating queries.

Simplified report generation. Office statistics can be had by just a click of mouse. It offers several utilities like Backup, Restore, Password settings.

CONCLUSION
Bank Management System in a broad way caters to the need of millions of people across the globe. Hence there is a need to improve the services and to provide vital information to the people at the correct time through the help of more developed versions of the Bank Management System. We have tried to do the same by working on a particular adaptation of above. Hence, to sum up we can say that we have tried to balance the whole Account information as far as Bank facilities provision to Account is concerned. Hence by developing this software and by carrying out this project work, we hope to smoothen the library procedures and operations.

BIBLIOGRAPHY
REFERENCES:
A Complete Reference C & C++. Let Us C. http:// www.cse.msu.edu/

Das könnte Ihnen auch gefallen