Banking System 3 PDF Free
Banking System 3 PDF Free
Project Report
On
Banking System
1
DECLRATION
Department of Computer Science, M.M. University, Mullana, under class Roll No. 2309105
and 2309106, for the session 2011-2012, hereby, declare that the project entitled “Banking
The matter embodied in this project work has not been submitted earlier for award of any
Ashish Chugh
(Lecturer in IT)
(co-odinator)
2
ACKNOWLEDGEMENT
This project is like pride between theoretical & practical knowledge. It is matter of great
pleasure for me to submit this project on “BANKING SYSTEM”. This project will be great
Firstly , I would like to thanks the supreme power, the almighty GOD who is really
responsible for satisfactory completion of my task. Only because of his graceful hands that
are always on me. I have been able to develop this project to help his creatures.
Secondly, I like to thank my parents who always help me financial and mentally. They
I would also like to express my gratitude toward all those who have helped me in completing
stage only because of their support. I feel obliged in taking the opportunity to thank
I am deeply thankful Ms.Paramjit Kaur who is my project incharge without his regular
counseling, keep interest and encouragement, this project would not successful.
I would have never complete if staff members of our college computer department does not
help me. At last I am thankful to my friends who always inspired me to move forward. I have
no valuable words to express my thanks but my hearts is full of thanks the favor received
Kapil Gupta.
2309105.
Ashish Chugh.
2309106.
3
ABSTRACT
In ever widening modern world, the present system of education is facing new challenges. It
is well known fact that today is the age of computers. There are so many major achievement
in science & technology fields. Now a day’s everyone is realizing the importance of
In the modern era of science and technology as a powerful nation, India is still lagging behind
due to dis-advancement in computer technologies. This problem can be overcome only when
the youth of India of the present generation give full co-operation in rising India as a
So, realizing this fact and according to time demand when computers are necessary and
MARKENDESHWAR UNIVERSITY.
4
CONTENTS
Candidate’s Declaration 2
Acknowledgement 3
Abstract 4
Introduction to CPP 7
About Project 14
Future Scope 24
Coding 25-37
References 47
5
INTRODUCTION TO PROBLEM AREA
IT, systems and product development projects or indeed for any activity where you have
and manage requirements to ensure they are meeting needs of the customer, while proving
compliance and staying on the schedule and within budge. The impact of a poorly
expressed requirement can bring a business out of compliance or even cause injury or
death. Requirements definition and management is an activity that can deliver a high, fast
return on investment.
main aim of this project is to develop software for bank management system. This project is
to develop software for bank management system. This project has been developed to carry
out the processes easily and quickly, which is not possible with the manuals systems, which
are overcome by this software. This project is developed using C++ language and. Hence it
In this project we can keep record of daily banking transactions. This programme is capable
of holding any no. of accounts. In this system we cover the opening new account,
modification in account, close account, deposit cash, withdraw cash and query.
Existing system cannot complete the requirement of its users, with the changing world
progress.
6
INTRODUCTION TO CPP
C++ is an Object Oriented Language. Initially name “C with Classes”, C++ was develop by
Bjarne Stroustrup at AT & T Bell laboratories in earlier 1980’s.The features of C++ were a
combination of the Object Oriented features of a language called Simula 67 and the power of
C.
Some of the most important features that C++ add on to C are classes, function overriding
and operator overloading. These features enable developer to create abstract classes, inherits
C++ is a language for handling very large programs. It is suitable for virtually any
7
PROCEDURAL LANGUAGE
done such as reading, Calculating and printing. Basically, it consists of writing a list of
instructions for the computers to follow, and organizing these instruction into groups known
as function. A number of function are written to accomplish or to solve the problem in the
program. So, the Technique of hierarchical decomposition has been specify the tasks to be
Main
Program
Function 1 Function 3
Function 2
Function 4 Function 5
programming are :
8
THE OBJECT ORIENTED APPROACH
The fundamental idea behind Object Oriented Language is to combine into a single unit both
data and the functions that operates on that data. Such a unit is called an object. So with the
help of object we can encapsulate the data and its functions into a single entity. There are
1) CLASSES:
In OOP we say class is the combination of data and functions under a single name.A
Class xyz
int x;
Member
float y; Variables
char c;
Member
Function
void show( );
};
The definition above stated is not completed. The main idea behind using classes is
the binding of data along with it’s functionality. The class declaration starts with the
keyword class followed by the class name. Then we declare the variables which form
the data and member functions for processing the data are also declared along with
return type for each. The class declaration ends with the closing brace ( } ) followed
by semi-colon ( ; ).
9
2) ENCAPSULATION: Encapsulation or data hiding is the mechanism that
associates the code and data that it manipulates into a single unit and keeps them safe
from external interface and misuse. The class features of C++ implements the concept
The members of a class declared private are accessible only within the class, i.e. only
The members declared are public as accessible anywhere from wiyhin the class, or
The members declared are protected as a accessible by the sub classes, which is going
3) INHERITANCE:
The Idea of classes leads to the idea of inheritance .Inheritance is the concept by
which the properties of one entity are available to another. It allows new classed to be
build from the older and less specialized classed instead of being rewritten from
scratch. C++ allows a class to inherit properties and functions from another. The class
that inherits properties and functions is called the subclass or the derived class and the
class from which they are inherited is called the super class or the base class. The
derived class inherits all the properties of the base class and can add properties and
4) REUSABILITY:
Once a class has been written, created an debugged, it can be distributed to other
programmers for use in their own program. This is called Reusability. However, in
10
OOP, the concept of inheritance provides important extensions to the idea of
reusability. A programmer can take an existing class and, without modifying it, add
FILE HANDING
The file handling techniques of C ++ supports file manipulation in the form of stream objects.
The stream objects are predetermined in the header file iostream.h . Information is either
stored in it or received from it. For console input we have used cin with overloaded operator
>>. Stream cin is an object of class istream. Similarly, cout is an object of class ostream. But
a disk file which we want to use is not linked to any stream. For input/output to a disk file we
have to link the file to some stream explicitly in the program. Here are classes for handing
file.
ios
istream ostream
ifstream
istream ofstream
11 iostream
fstream
The class ios is a virtual base class for the istream and ostream. The iostream is a class with
multiple inheritance form both istream and ostream. These classes are defined in the header
file fstream.h.
C++ also provides specific classes that deals with user defined streams which are in the form
of files. To perform file i/o, the header file fstream.h must be included in the program. If
defines several classes, including ifstream, ofstream_. These classes are derived from istream
and ostream respectively. Istream and ostream are derived from ios,so ifstream, ofstream and
Before opening a file a stream must be first obtained. To create an input stream, it must be
ofstream. Streams that will perform both input and output operation must be declared as a
class of fstream.
12
Once having created a stream, it can be associated with file name, filename is the name of the
file, which may include a path specifier. The value of mode, determines how the file is
ofstream out;
out.open(“test”,ios::out);
To open a stream for input and output, both ios::in and the ios::out mode values must be
fstream mystream;
mystream.open(“test”,ios::in | ios::out);
To close a file member function close ( ) must be used. The close function takes no
mystream.close( );
13
ABOUT PROJECT
1) Add New Account : This is a module used to store information of new account.
4) Balance Inquiry : This is used to inquiry about balance amount in the account.
5) Account List Holders: This is used to display the list of all account holders.
This system can store the account holder information. Though this system modification of
old specification can be altered very easily. This project tell us how to manage the
This system prepared with limited resources and information at our disposal, it may not
14
SYSTEM ANALYSIS & DESIGN
The system concept were founded in general system theory, which enforces a close look at all
Theoretical framework upon which to make decision”. This theory basically concern with the
activities of the organization and its external environment. Thus, a system is a way of
thinking about organization and their problem. It also involves a set of techniques that help in
solving problems. There are more than a hundred definitions of the word system, but some
are commonly used that a system is an orderly grouping of interdependent components linked
together according to a plan to achieve a specific objective. The word components may refer
CHARACTERISTIC OF A SYSTEM
Our definition of a system suggest some characteristics that are present in all system:
ORGANIZATION:
Organization means structure and order. It is the arrangement of components that helps to
achieve objectives. In the design of the business system, for example, the hierarchical
relationships starting with the president on top and leading downward to the workers
relationship, defines the authority structure, specifies the formal flow of communication and
formalizes the chain of command. Like wise, a computer system is designed around an input
device, a central processing unit, an output device and one or more storage units. when all
these units linked together they work as a whole system for producing information.
15
INTERACTION:
Interaction refers to the manner in which each component or unit functions with other
components of the system. In an organization, for example purchasing must interact with
production, advertising with sales and payroll with personnel. In a computer system, the
central processing unit must interact with the input device to solve a problem.
INTERDEPENDENCE:
Interdependence means that parts of the organization or computer system depend on one
another. They are coordinated and linked together according to plan. Our subsystem depends
on the input of another subsystem for proper functioning; i.e. the output of one system is the
INTEGRATION:
Integration refers to the completeness of the systems. Integration is concerned with how a
system is tied together. This means that sharing physical part or location of the system. For
better understand, parts of the system work together within the system even through each part
performs a unique functions. Without the proper integration of the system, a system cannot
CENTRAL OBJECTIVE:
The last characteristic of a system is its central objective. Objectives may be real or stated.
Although a stated objectives may be the real objective, it is not good for an organization to
state one objective and operate to achieve another. The important point is that user must
16
ANALYSIS
It is a detailed study of the various operations performed by the system and their relationship
within and outside of the system . A key question is – what must be done to solve the
problem ? one aspect of analysis is defining the boundaries of the system and determining
whether or not a candidate system should consider other related system. During analysis, data
are collected on available files, decision points and transactions handled by the present
system. A Important point about the analysis is that training. Experience and common sense
17
DESIGN
The most creative and challenging phase of the system life cycle is system design. The term
design describe a final system and a final system and a process by which it is developed. It
refers to the technical specification that will applied in implementing the candidate system. It
also includes the construction of programs and program testing. The key question here is –
How should the problem be solve ? The Major steps in design are shown below:-
• To determine how the output is to be produce and in what format. Samples of output
• Input data and master files have to be designed to meet the requirement of the
proposed output.
• Finally, details related to justification of the system and an estimate of the impact of
the candidate system on the user and the organization are documented and evaluated
hardware, facilities and their estimated cost must also be available. So, at this point,
18
DATA FLOW DIAGRAM
Close Account
Credit or Debit
Manager Verify and amount in account
Custom
er
Banking
System
Custom
er
Banking
System
Update Account
19
FEASIBILITY STUDY
The data collection that occurs during preliminary investigations examines system feasibility,
means whether the proposed system will be beneficial. So, three tests of feasibility will be
• Technical Feasibility.
• Operational Feasibility.
• Economical Feasibility.
Technical Feasibility
It involves determining whether or not a system can actually be constructed to solve the
problem at hand. Some people think that they can do everything on computer very easily and
• Technology: Does this technology is technical feasible or not, means the tools we are
planning to use for development are technically suggested or not. And we found that
this tools are proper and well suited to develop such type of application.
• Working: Will the proposed system and components provide adequate responses to
inquiries, regardless of number or user and location of users and location of user. For
Because more function can be added in the system to provide more facilities to the
users.
20
• Accuracy: How much the proposed system is going to be accurate after development
of it ? If this is developed properly, then we are sure it will be accurate and will work
• Easy access: User can easily interact with the system as it is menu driven so user can
choose the operation he/she wants to perform from the list of operations.
Now it is found that system is technically feasible and can be taken to nest stage but before
OPERATIONAL FEASIBILITY
Proposed projects are of course beneficial only if that can turned into information system that
will meet the organization’s operating environments. Simply stared this feasibility asks that
whether the system work when developed and installed. The issues discussed here are :
• Sufficient Support: Is there sufficient support for the project from the other
members, management ? Yes, proposed system is well linked by every one involved
• Acceptable To Users: We hope that users will welcome this step and will accept the
proposed system as this will be help them in various ways. It will be useful for the
• Result: Is the result of the proposed system will be harmless, or they may create
problems. Will there be any loss of result control ? No, it will not cause any such type
21
• Slow Performance: No, system will not perform poorly. In fact it would be able to
After, discussing the aspect related to operational study it is clear that it is almost
22
ECONOMIC FEASIBILITY.
It involves estimating benefits and costs. These benefits and costs may be tangible or
Hardware Cost: The cost of hardware is to be considered. It should not cross the estimate
cost. Hardware will not cost very much. To develop this we need a system
MEMORY :128 MB
LANGUAGE :
Turbo C++
OPERATING SYSTEM :
23
FUTURE SCOPE
This system can be use by any banking organization with small alteration of the system.
This system provides correct task of the business. This system can also provide the correct
information regarding the Organization working, all the employee will feel satisfied
This system altogether rules out cheating, falsification of accounts of the organization.
24
CODING
//***************************************************************
//****************************************************************
#include<fstream.h>
#include<conio.h>
#include<stdio.h>
#include<process.h>
#include<ctype.h>
//***************************************************************
//****************************************************************
class account
char name[50];
char type;
25
public:
void create_account()
cin>>acno;
gets(name);
cin>>type;
type=toupper(type);
cin>>deposit;
void show_account()
cout<<"\n\n----ACCOUNT STATUS----\n";
void modify_account()
gets(name);
void dep(int x)
deposit+=x;
void draw(int x)
deposit-=x;
void report()
cout<<acno<<"\t"<<name<<"\t\t"<<type<<"\t\t"<<deposit<<endl;
27
}
int retacno()
return acno;
float retdeposit()
return deposit;
char rettype()
return type;
//***************************************************************
//****************************************************************
fstream fp;
28
account ac;
//***************************************************************
//****************************************************************
void write_account()
fp.open("account.dat",ios::out|ios::app);
ac.create_account();
fp.write((char*)&ac,sizeof(account));
fp.close();
//***************************************************************
//****************************************************************
void display_sp()
int n;
cout<<"\n\n====BALANCE DETAILS====";
cin>>n;
29
int flag=0;
fp.open("account.dat",ios::in);
while(fp.read((char*)&ac,sizeof(account)))
if(ac.retacno()==n)
ac.show_account();
flag=1;
fp.close();
if(flag==0)
getch();
//***************************************************************
//****************************************************************
void modify_account()
30
{
int no,found=0;
cout<<"\n\n====MODIFY RECORD====";
cin>>no;
fp.open("account.dat",ios::in|ios::out);
if(ac.retacno()==no)
ac.show_account();
ac.modify_account();
int pos=-1*sizeof(ac);
fp.seekp(pos,ios::cur);
fp.write((char*)&ac,sizeof(account));
found=1;
fp.close();
31
if(found==0)
getch();
//***************************************************************
//****************************************************************
void delete_account()
int no;
cout<<"\n\n====Delete Record====";
cin>>no;
fp.open("account.dat",ios::in|ios::out);
fstream fp2;
fp2.open("Temp.dat",ios::out);
fp.seekg(0,ios::beg);
while(fp.read((char*)&ac,sizeof(account)))
{
32
if(ac.retacno()!=no)
fp2.write((char*)&ac,sizeof(account));
fp2.close();
fp.close();
remove("account.dat");
rename("Temp.dat","account.dat");
getch();
//***************************************************************
//****************************************************************
void display_all()
fp.open("account.dat",ios::in);
if(!fp)
33
{
getch();
return;
cout<<"====================================================\n";
cout<<"A/c no.\tNAME\t\tType\t\tBalance\n";
cout<<"====================================================\n";
while(fp.read((char*)&ac,sizeof(account)))
ac.report();
fp.close();
getch();
//***************************************************************
//****************************************************************
34
void deposit_withdraw(int option)
int no,found=0,amt;
cin>>no;
fp.open("account.dat",ios::in|ios::out);
if(ac.retacno()==no)
ac.show_account();
if(option==1)
cin>>amt;
ac.dep(amt);
if(option==2)
int bal=ac.retdeposit()-amt;
cout<<"\nInsufficience balance";
else
ac.draw(amt);
int pos=-1*sizeof(ac);
fp.seekp(pos,ios::cur);
fp.write((char*)&ac,sizeof(account));
found=1;
fp.close();
if(found==0)
getch();
//***************************************************************
36
// INTRODUCTION FUNCTION
//****************************************************************
void intro()
clrscr();
gotoxy(5,7);
cout<<"==============================";
gotoxy(18,11);
cout<<"BANK";
gotoxy(15,14);
cout<<"MANAGEMENT";
gotoxy(17,17);
cout<<"SYSTEM";
gotoxy(5,21);
cout<<"==============================";
gotoxy(5,24);
gotoxy(5,26);
getch();
37
}
//***************************************************************
//****************************************************************
void main()
char ch;
intro();
do
clrscr();
cout<<"\n\n\n\tMAIN MENU";
ch=getche();
clrscr();
switch(ch)
getch();
break;
break;
break;
break;
break;
break;
break;
39
case '8': exit(0);
default : cout<<"\a";
}while(ch!='8');
} /* END OF PROJECT */
40
OUTPUTOF PROGRAM
41
42
43
44
45
46
47
48
49
50
REFERENCES
• Programming in C++
• Let us C++
51