0% found this document useful (0 votes)
39 views

Banking System 3 PDF Free

The document is a project report submitted by Kapil Gupta and Ashish Chugh for their diploma in B.Tech Integrated Program. The report details the development of a banking system project using C++. It includes sections on introduction to the problem area with existing limitations, introduction to C++, system analysis and design, feasibility study, future scope, coding, sample inputs/outputs, and references. The project aims to develop banking management software to more easily and quickly carry out banking transactions compared to manual systems.

Uploaded by

vy6296675
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
39 views

Banking System 3 PDF Free

The document is a project report submitted by Kapil Gupta and Ashish Chugh for their diploma in B.Tech Integrated Program. The report details the development of a banking system project using C++. It includes sections on introduction to the problem area with existing limitations, introduction to C++, system analysis and design, feasibility study, future scope, coding, sample inputs/outputs, and references. The project aims to develop banking management software to more easily and quickly carry out banking transactions compared to manual systems.

Uploaded by

vy6296675
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 51

A

Project Report

On

Banking System

Submitted in the partial fulfillment of the requirement

For the award of degree of

Diploma B.Tech Integrated Program

(Session : 2011 – 2012)

Guid: Submitted By:


Er. Paramjit Kaur Kapil Gupta
Lecturer in IT. Roll No. 2309105
Ashish Chugh
Roll No. 2309106

DEPARTMENT OF COMPUTER SCIENCE ENGINEERING

MAHARISHI MARKANDESHWAR UNIVERSITY, MULLANA, AMBALA

1
DECLRATION

I, Kapil Gupta and Ashish Chugh, a student of B.Tech(Diploma Integrated), in the

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

System” has been completed by us during 5th Semester.

The matter embodied in this project work has not been submitted earlier for award of any

degree or diploma to the best of my knowledge and belief.

Date : Kapil Gupta

(Roll No. 2309105)

Ashish Chugh

(Roll No. 2309106)

It is certified that the above statement to the best of my knowledge.

Date: Paramjit Kaur

(Lecturer in IT)

Date: Mr.Narender Singh

(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

help in crucial times & will contribute in giving life to a person.

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

always encourage me to be successfully in every field.

I would also like to express my gratitude toward all those who have helped me in completing

my project successfully. Moreover, my teachers contribute a lot in this project. I am on this

stage only because of their support. I feel obliged in taking the opportunity to thank

Mr. Narender Singh(co-ordinator).

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

from every person.

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

computers which is the achievement of modern age in fifth generation of computers.

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

powerful nation by learning more and more computers.

So, realizing this fact and according to time demand when computers are necessary and

important achievement, I have choose this professional course from MAHARISHI

MARKENDESHWAR UNIVERSITY.

4
CONTENTS

Topic Page No.

Candidate’s Declaration 2

Acknowledgement 3

Abstract 4

Introduction to Problem Area 6

Introduction to CPP 7

File Handling 11-13

About Project 14

System Analysis and design 15-19

Feasibility Study 20-23

Future Scope 24

Coding 25-37

Sample Input/output 38-46

References 47

5
INTRODUCTION TO PROBLEM AREA

In existing system management is recognized as a necessary step in the delivery of successful

systems and software projects, discipline is also required by standards, regulations,

and quality improvement initiatives. Creating and managing requirements is a challenge of

IT, systems and product development projects or indeed for any activity where you have

to manage a contractual relationship. Organization need to effectively define

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.

The BANKING SYSTEM undertaken as a project is based on relevant technologies. The

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

provides the complete solution for the current management system.

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.

Limitation of Existing System

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

properties from existing classes and support polymorphism.

C++ is a language for handling very large programs. It is suitable for virtually any

programming task including development editors, compilers, databases, communication

system and any complex real life application system.

7
PROCEDURAL LANGUAGE

In the Procedure-Oriented Approach, the problem is viewed as a sequence of things to be

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

completed for solving a problem.

Main
Program

Function 1 Function 3
Function 2

Function 4 Function 5

There are some characteristics exhibited by procedure-oriented

programming are :

1) Main emphasis is on doing things or work.

2) Large programs are divided into smaller program known as functions.

3) Function transfer data from one function to another.

4) Employs top-down approach in program design.

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

many Characteristics of object oriented languages:

1) CLASSES:

In OOP we say class is the combination of data and functions under a single name.A

class declaration in C++ is largely similar to a structure declaration in c. there is a

small example of class declaration:

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

of encapsulation by providing access specifies. Access specifies in C++: private,

public and protected.

The members of a class declared private are accessible only within the class, i.e. only

to other of the same class.

The members declared are public as accessible anywhere from wiyhin the class, or

outside the class.

The members declared are protected as a accessible by the sub classes, which is going

to inherit the main class.

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

refinements of its own. The base class remain unchanged.

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

additional features and capabilities to it.

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.

1) ifstream: for handling input files.

2) ofstream: for handling output files

3) fstream: for handling files on which input/output can be performed

The class hierarchy of these classes are :-

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.

FILE INPUT AND OUTPUT :

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

fstream also have full access to all operations defined by ios.

OPENING AND CLOSING A FILE:

Before opening a file a stream must be first obtained. To create an input stream, it must be

declared as a class of ifstream. To create an output stream, it must be declared as a class of

ofstream. Streams that will perform both input and output operation must be declared as a

class of fstream.

ifstream -> input stream

ofstream out -> outputstream

fstream io; -> input/output stream

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

opened. it must be one of these values.

ios::app : appends to end of file

ios::in : specifies that the file is capable of input.

ios::in : specifies that the file is capable of output

ios::binary : open file in binary mode.

The following instruction open a normal output file.

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

specified. This can be done as follows:

fstream mystream;

mystream.open(“test”,ios::in | ios::out);

To close a file member function close ( ) must be used. The close function takes no

parameters and returns no value.

mystream.close( );

13
ABOUT PROJECT

1) Add New Account : This is a module used to store information of new account.

2) Deposit Money: This is a module used to deposit money in account.

3) Withdraw Money: This is used to withdraw money from the 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.

6) Close Account: This is used to close an account.

7) Modify Account: This is used alter account information.

8) Exit : This is used to exit from banking system.

ADVANTAGES OF THE PROJECT

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

information of account holders.

DISADVANTAGES OF THE PROJECT

This system prepared with limited resources and information at our disposal, it may not

last long beyond a certain period.

14
SYSTEM ANALYSIS & DESIGN

The system concept were founded in general system theory, which enforces a close look at all

part of a system. General systems theory is concerned with “Developing a systematic,

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

to physical parts, managerial steps or a subsystem in a multilevel structure.

CHARACTERISTIC OF A SYSTEM

Our definition of a system suggest some characteristics that are present in all system:

Organization, Interaction, Interdependence, Integration and a central objective.

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

represents the organization structure. Such type of arrangement shows a system-subsystem

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

required input for another subsystem.

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

work properly and cannot achieve the desired objective.

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

know the central objective of a system for successful design of a system.

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

are required for collection of the information needed to do the Analysis.

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

are also made available.

• 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

by management as a step towards implementation. The final report prior to the

implementation phase includes procedural flowcharts, records layouts, and a workable

plan for implementing the candidate system. Information on personnel, money,

hardware, facilities and their estimated cost must also be available. So, at this point,

projected costs must be close to actual cost of implementation.

18
DATA FLOW DIAGRAM

Request for Open Account Pass book

Modify Account Change Details

Close Account

Close account & Pay


Query balance amount
Custome Banking Custome
r System r
Transaction
Account
status
Receive request
\ for new account

Credit or Debit
Manager Verify and amount in account

Open new account


Withdraw form or cheque

Custom
er
Banking
System

Get cash and update account

Deposit cash or cheque

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

done to study. All these studies are important. These are:-

• 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

very soon. Now here is studied that

• 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

this type of problems no other tools are best.

• Expandable: Can it be expanded after development ? The answer is again yes.

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

for each condition without failure.

• 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

that I have to check that whether it is operational or economic feasible or not.

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

in management and officials.

• 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

students of modern algebra, applied mathematics, atomic physics, mathematical

problem of economics etc. chances of resistance by other people are less.

• 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

of problem because it is planned to be developed in proper way, and these type of

issues can be tested during testing phase.

21
• Slow Performance: No, system will not perform poorly. In fact it would be able to

perform well because it is developed in C++ which is a high level language.

After, discussing the aspect related to operational study it is clear that it is almost

operational feasible. Now next it is check whether is feasible economically or not.

22
ECONOMIC FEASIBILITY.

It involves estimating benefits and costs. These benefits and costs may be tangible or

intangible. Because of confusion between types of costs, it sometimes very difficult to

decide it is benefits over weigh the costs. The issues are:

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

MINIMUM HARDWARE ENVIRONMENT

MEMORY :128 MB

CPU : Intel Pentium or above

PERPHARAL DEVICE : Dot Matrix Printer or LPT Port Printer

HARD DISK: 1GB or above

MINIMUM SOFTWARE ENVIRONMENT

LANGUAGE :

Turbo C++

OPERATING SYSTEM :

Windows 95, Windows 98, Windows 2000, Windows XP, Windows NT

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

regarding their remuneration.

This system altogether rules out cheating, falsification of accounts of the organization.

24
CODING

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

// HEADER FILE USED IN PROJECT

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

#include<fstream.h>

#include<conio.h>

#include<stdio.h>

#include<process.h>

#include<ctype.h>

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

// CLASS USED IN PROJECT

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

class account

int acno, deposit, withdraw;

char name[50];

char type;
25
public:

void create_account()

cout<<"\n\n====NEW ACCOUNT ENTRY FORM====\n\n";

cout<<"\nEnter The account Number : ";

cin>>acno;

cout<<"\nEnter The Name of The account Holder : ";

gets(name);

cout<<"\nEnter Type of The account (C/S) : ";

cin>>type;

type=toupper(type);

cout<<"\nEnter Initial amount\n>=500 for Saving >=1000 for current :";

cin>>deposit;

cout<<"\n\n\nYour Account Created Successfully ..";

void show_account()

cout<<"\n\n----ACCOUNT STATUS----\n";

cout<<"\nAccount No. : "<<acno;

cout<<"\nAccount Holder Name : "<<name;

cout<<"\nType of Account : "<<type;


26
cout<<"\nBalance amount : "<<deposit;

void modify_account()

cout<<"\nAccount No. : "<<acno;

cout<<"\nModify Account Holder Name : ";

gets(name);

cout<<"Modify Type of Account : ";cin>>type;

cout<<"Modify Balance amount : ";cin>>deposit;

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;

}; //class ends here

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

// global declaration for stream object, object

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

fstream fp;
28
account ac;

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

// function to write in file

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

void write_account()

fp.open("account.dat",ios::out|ios::app);

ac.create_account();

fp.write((char*)&ac,sizeof(account));

fp.close();

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

// function to read specific record from file

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

void display_sp()

int n;

cout<<"\n\n====BALANCE DETAILS====";

cout<<"\n\nEnter the Account Number : ";

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)

cout<<"\n\nAccount Number does not exist";

getch();

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

// function to modify record of file

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

void modify_account()
30
{

int no,found=0;

cout<<"\n\n====MODIFY RECORD====";

cout<<"\n\nEnter the Account No. : ";

cin>>no;

fp.open("account.dat",ios::in|ios::out);

while(fp.read((char*)&ac,sizeof(account)) && found==0)

if(ac.retacno()==no)

ac.show_account();

cout<<"\n\n\n----Enter the New Details----\n";

ac.modify_account();

int pos=-1*sizeof(ac);

fp.seekp(pos,ios::cur);

fp.write((char*)&ac,sizeof(account));

cout<<"\n\n\t Record Updated";

found=1;

fp.close();
31
if(found==0)

cout<<"\n\n Record Not Found ";

getch();

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

// function to delete record of file

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

void delete_account()

int no;

cout<<"\n\n====Delete Record====";

cout<<"\n\nEnter The Account No. : ";

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");

cout<<"\n\n\tRecord Deleted ..";

getch();

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

// function to display all accounts deposit list

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

void display_all()

fp.open("account.dat",ios::in);

if(!fp)
33
{

cout<<"ERROR!!! FILE COULD NOT BE OPEN ";

getch();

return;

cout<<"\n\n\t\tACCOUNT HOLDER LIST\n\n";

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();

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

// function to deposit and withdraw amounts

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

34
void deposit_withdraw(int option)

int no,found=0,amt;

cout<<"\n\n====ACCOUNT TRANSCATION FORM====";

cout<<"\n\nEnter The account No. : ";

cin>>no;

fp.open("account.dat",ios::in|ios::out);

while(fp.read((char*)&ac,sizeof(account)) && found==0)

if(ac.retacno()==no)

ac.show_account();

if(option==1)

cout<<"\n\nEnter The amount to DEPOSIT : ";

cin>>amt;

ac.dep(amt);

if(option==2)

cout<<"\n\nEnter The amount to WITHDRAW : ";


35
cin>>amt;

int bal=ac.retdeposit()-amt;

if((bal<500 && ac.rettype()=='S') || (bal<1000 && ac.rettype()=='C'))

cout<<"\nInsufficience balance";

else

ac.draw(amt);

int pos=-1*sizeof(ac);

fp.seekp(pos,ios::cur);

fp.write((char*)&ac,sizeof(account));

cout<<"\n\n\t Record Updated";

found=1;

fp.close();

if(found==0)

cout<<"\n\n Record Not Found ";

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);

cout<<"MADE BY : Kapil Gupta & Ashish Chugh";

gotoxy(5,26);

cout<<"MM Engineering College, Mullana";

getch();
37
}

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

// THE MAIN FUNCTION OF PROGRAM

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

void main()

char ch;

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";


38
cout<<"\n\n\t08. EXIT";

cout<<"\n\n\tSelect Your Option (1-8) ";

ch=getche();

clrscr();

switch(ch)

case '1': write_account();

getch();

break;

case '2': deposit_withdraw(1);

break;

case '3': deposit_withdraw(2);

break;

case '4': display_sp();

break;

case '5': display_all();

break;

case '6': delete_account();

break;

case '7': modify_account();

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++

• Teach your self C++

51

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy