Upload
mathews-k-varghese
View
220
Download
0
Embed Size (px)
Citation preview
8/3/2019 C++ PROJECT XII by Bonnie,Georgey and Mathews
1/39
C++PROJECT
BANKING SYSTEM
8/3/2019 C++ PROJECT XII by Bonnie,Georgey and Mathews
2/39
ACKNOWLEDGEMENT
We are highly privileged to
Present this project on BANKING
SYSTEM. We thank God Almighty
for his blessings. We take thisopportunity to thank all those who
helped us, especially our dear
principal Rev. Fr.Scaria Ethirett andalso our beloved teacher
Mrs.Brighty Varghese for her kind
8/3/2019 C++ PROJECT XII by Bonnie,Georgey and Mathews
3/39
guidance. We also thank our
friends for their help
Thanking you:-
..
DECLARATION
I hereby declare that this project
work entitled BANKING SYSTEM
rebuilt in partial fulfillment of the
8/3/2019 C++ PROJECT XII by Bonnie,Georgey and Mathews
4/39
study of class XII under the
syllabus scheme of CBSE NEWDELHI in computer science is a
record of the bonafide research
carried out by me under theguidance of my teacher Mrs.
Brigthy Varghese and no part has
been subjected for further studies.
Submitted by:
.
8/3/2019 C++ PROJECT XII by Bonnie,Georgey and Mathews
5/39
iNDEX
C++ Overview System Requirements Introduction Modules Used
8/3/2019 C++ PROJECT XII by Bonnie,Georgey and Mathews
6/39
Flowchart Source Code Output Conclusion Bibliography
C++ OverviewThe C++ programming was developed at AT&T Belllaboratories in the early 1980s by Bjarne Stroustup.Hefound 'C' lacking for simulations and decided to extend thelanguage by adding features from his favourite language,Simula 67.Simula 67 was one of the earliest object orientedlanguage.The name C++ was coined by Rick Mascitti where"++" is the C increment operator. The latest C++ standards
8/3/2019 C++ PROJECT XII by Bonnie,Georgey and Mathews
7/39
documents was issued by ANSI/ISO inyear 2003.The majorreason behind the success and popularity of C++ is that itsupports the object oriented technology , the latest in thesoftware development and the most near to the real world.OOP PROGRAMMINGThe object oriented approach views a problem in terms ofobjects involved rather than procedure for doing it.Object is an identifiable entity with some characteristicsand behaviour. Object oriented programming is a methodof implementation in with programs are organized ascooperative collections of objects , each of whichrepresents an instance of some class , and whose classesare all members of a hierarchy of classes united viainheritance relationship.OOP TERMINOLOGY AND FEATURESThe OOP approach is based on certain concepts thathelp it attain its goal of overcoming the drawbacks orshortcoming of conventional programmingapproaches. The general concepts of OOP are givenbelow:1.Data Abstraction2.Data Encapsulation
8/3/2019 C++ PROJECT XII by Bonnie,Georgey and Mathews
8/39
3.Modularity4.Inheritance5.Polymorphism1.Data AbstractionAbstraction is the concept of simplifying a real worldconcept into its essential elements. It refers to the act ofrepresenting essential features without including thebackground details or explanations.2.Data EncapsulationEncapsulation is the most fundamental concept of OOP.It is the way of combining both data and the functionsthat operate on that data under a single unit. ie, thewrapping of data and functions into a single unit is knownas encapsulation.3.ModularityThe act of partitioning a program into individualcomponents is called modularity . The justification forpartioning a program is that(i) It reduces its complexity to some degree and(ii) It creates a number of well defined, documentedboundaries within the program.Modularity is the property of a system that has been
8/3/2019 C++ PROJECT XII by Bonnie,Georgey and Mathews
9/39
decomposed into a set of cohesive and loosely coupledmodules.4.InheritanceInheritance is the capability of one class of thing to inheritcapabilities or properties from another class. The classwhose properties are inherited are, is called BASE CLASSor SUPER CLASS and the class that inherits theseproperties, is called DERIVED CLASS or SUB CLASS.5.PolymorphismPolymorphism is the ability for a message or data to beprocessed in more than one form. Polymorphism is aproperty by which the same massage can be sent to objectsof several different classesSYSTEM REQUIREMENTS
HARDWARE REQUIREMENT
o Processor:- Intel Pentium
8/3/2019 C++ PROJECT XII by Bonnie,Georgey and Mathews
10/39
o RAM :- 16 MBo Memory:- 45.2 MB
SOFTWARE REQUIREMENTS
o Operating System :- Windows 98/XP, MS-DOS
o Compiler :- Turbo C++ / BorlandC++
8/3/2019 C++ PROJECT XII by Bonnie,Georgey and Mathews
11/39
INTRODUCTION
The name bank derives from the Italian
word banco meaning desk/bench, used
to make their transactions above a desk
covered by a green tablecloth. However,
there are traces of banking activity even inancient times.
In fact, the word traces its origin back to
the Ancient Roman Empire, where
moneylenders would set up their stalls in
middle of enclosed courtyardscalled
macella on a long bench called bancu, from
8/3/2019 C++ PROJECT XII by Bonnie,Georgey and Mathews
12/39
which the words banco and bank are
ferived. As a moneychanger, the merchantat the bancu did not so much invest
money, as merely convert foreign currency
into the only legal tender in Rome-that of
the Imperial Mint.
The earliest evidence of money-changing
activity is depicted on a silver drachm coin
from ancient Hellenic colony Trapezes on
the Black Sea, modern Trabzon, c.350-325
BC, presented in the British museum in
London . the coin shows a bankers table(trapeza) laden with coins.
8/3/2019 C++ PROJECT XII by Bonnie,Georgey and Mathews
13/39
In fact, even today in Modern Greek the
word Trapeza means both a table and adesk.
Banks act as payment agents by
conducting checking or current accounts
for customers, paying cheques drawn by
customers on the blank, and collecting
cheques deposited to customers current
accounts. Banks also enable customer
payments via other payment methods such
as telegraphic transfer, EFTPOS and ATM.Banks borrow money by accepting funds
deposited on current accounts, by
accepting term deposits and by issuing
8/3/2019 C++ PROJECT XII by Bonnie,Georgey and Mathews
14/39
debt securities such as banknotes and
bonds. Banks lend money by makingadvances to customers on current accounts,
by making advances to customers on
current accounts, by making installment
loans, and by investing in marketable debt
securities and other forms of money
lending.
Banks provide almost all payment services
and a bank account is considered
indispensable by most businesses,
individuals and governments. Non-banksthat provide payment services such as
remittance companies are not normally
8/3/2019 C++ PROJECT XII by Bonnie,Georgey and Mathews
15/39
considered an adequate substitute for
having a bank account.Banks borrow most funds from households
and non-financial businesses, and lend
most funds to households and non-
financial businesses, but non-bank lenders
provide a significance and in many cases
adequate substitute for bank loans, and
money market funds , cash management
trusts and other non-bank financial
institutions in many cases provide an
adequate substitute to banks for lending.
8/3/2019 C++ PROJECT XII by Bonnie,Georgey and Mathews
16/39
8/3/2019 C++ PROJECT XII by Bonnie,Georgey and Mathews
17/39
8/3/2019 C++ PROJECT XII by Bonnie,Georgey and Mathews
18/39
MODULES USED
This project is developed in C++ using class concepts and having
number of different user defined function(UDFS).Some of them
are as follows:
Write_account( )
This function is used to create an account. It contains account
number, name, account type, initial amount.
deposit_withdraw( )
This function is used to deposit or withdraw some money from an
account existing in the bank.
display_sp( )This function is used to for balance enquiry i.e.,knowing the
balance of an account existing in the bank.
display_all( )
This function is used to know the details of all the customers of
the bank.
delete_account( )
This function is used to delete an existing account in the bank.
modify_account( )
This function is used to modify an existing account in the bank.
8/3/2019 C++ PROJECT XII by Bonnie,Georgey and Mathews
19/39
SOURCECODE
//***************************************************************
8/3/2019 C++ PROJECT XII by Bonnie,Georgey and Mathews
20/39
// HEADER FILE USED IN PROGRAM
//****************************************************************
#include
#include
#include#include
#include
#include
//***************************************************************
// CLASS USED IN PROGRAM
//****************************************************************
class account
{
int acno;char name[50];
int deposit, withdraw;
char type;
public:
void create_account()
{
coutacno;
cout>deposit;
cout
8/3/2019 C++ PROJECT XII by Bonnie,Georgey and Mathews
21/39
couttype;
coutdeposit;
}
void dep(int x)
{deposit+=x;
}
void draw(int x)
{
deposit-=x;
}
void report()
{cout
8/3/2019 C++ PROJECT XII by Bonnie,Georgey and Mathews
22/39
//***************************************************************
// function to read specific record from file
//****************************************************************
void display_sp(int n)
{
clrscr();
cout
8/3/2019 C++ PROJECT XII by Bonnie,Georgey and Mathews
23/39
fp.write((char*)&ac,sizeof(account));
cout
8/3/2019 C++ PROJECT XII by Bonnie,Georgey and Mathews
24/39
clrscr();
fp.open("account.dat",ios::in);
if(!fp)
{
cout
8/3/2019 C++ PROJECT XII by Bonnie,Georgey and Mathews
25/39
cout
8/3/2019 C++ PROJECT XII by Bonnie,Georgey and Mathews
26/39
// THE MAIN FUNCTION OF PROGRAM
//****************************************************************
void main()
{char ch;
intro();
do
{
clrscr();
cout
8/3/2019 C++ PROJECT XII by Bonnie,Georgey and Mathews
27/39
8/3/2019 C++ PROJECT XII by Bonnie,Georgey and Mathews
28/39
OUTPUT
8/3/2019 C++ PROJECT XII by Bonnie,Georgey and Mathews
29/39
8/3/2019 C++ PROJECT XII by Bonnie,Georgey and Mathews
30/39
8/3/2019 C++ PROJECT XII by Bonnie,Georgey and Mathews
31/39
8/3/2019 C++ PROJECT XII by Bonnie,Georgey and Mathews
32/39
8/3/2019 C++ PROJECT XII by Bonnie,Georgey and Mathews
33/39
8/3/2019 C++ PROJECT XII by Bonnie,Georgey and Mathews
34/39
8/3/2019 C++ PROJECT XII by Bonnie,Georgey and Mathews
35/39
8/3/2019 C++ PROJECT XII by Bonnie,Georgey and Mathews
36/39
8/3/2019 C++ PROJECT XII by Bonnie,Georgey and Mathews
37/39
CONCLUSION
8/3/2019 C++ PROJECT XII by Bonnie,Georgey and Mathews
38/39
The project banking system is
successfully made using C++ and
output is verified by running in
C++ compiler using the program
we can use make of the work of
bank easier.
BIBLIOGRAPHY
Computer Science C++ XI
Computer Science C++ XII
8/3/2019 C++ PROJECT XII by Bonnie,Georgey and Mathews
39/39
www.icbse.com