166
BANK MANAGEMENT SYSTEM To Whom It May Concern This is to certify that _____________ has successfully completed this project in partial fulfillment _______________________, under my supervision. . (PROJECT CO-ORDINATOR) Anuj Singh Chauhan Page: 3 Reg. No:- 503478

Bank Management

Embed Size (px)

Citation preview

Page 1: Bank Management

BANK MANAGEMENT SYSTEM

To Whom It May Concern

This is to certify that _____________ has successfully completed

this project in partial fulfillment _______________________,

under my supervision.

.

(PROJECT CO-ORDINATOR)

Anuj Singh Chauhan Page: 3

Reg. No:- 503478

Page 2: Bank Management

BANK MANAGEMENT SYSTEM

Index

Acknowledgment

Certificate

1. Introduction

-objective & Goal

2. Project Initiation

3. SDLC

3.1 System Analysis

-Problem in the Current system

-Feature of the proposed system

-Feasibility Study

-Gantt Chart

-Methodology used

-Hardware & Software Requirements

3.2 Design

-ER Diagram

-DFD

-Structure chart

- Data Dictionary

Anuj Singh Chauhan Page: 4

Reg. No:- 503478

Page 3: Bank Management

BANK MANAGEMENT SYSTEM

3.3Source code

3.4Testing

- Input & Output Screens

3.5Implementation

- User Manual

3.6Maintenance

4. Limitations

5. References

6. Suggestions

Anuj Singh Chauhan Page: 5

Reg. No:- 503478

Page 4: Bank Management

BANK MANAGEMENT SYSTEM

INTRODUCTION

This software will be provided as a tool to the INDIAN BANK.

The

BANK has been working for Accounts information ,

Withdrawal(through Cash/Cheque). Deposit amount. In this

Software you can keep record for daily Banking transactions.

THE OBJECTIVE is to prepare a software or application, which

could maintain data & provide a user friendly interface for

retrieving customer related details just in few seconds, with 100%

accuracy. Software is completely computerized, so it is not time

consuming process. No paper work required & can be

implemented further .

The application should also facilitate the addition of new Customer

A/c, deletion of A/c& modification of existing customer A/C. To

Search for every individual accounts for a particular customer,

Anuj Singh Chauhan Page: 6

Reg. No:- 503478

Page 5: Bank Management

BANK MANAGEMENT SYSTEM

show all transaction & any account should be opened with

minimum Rest. 500 etc.

OBJECTIVE & GOALS

The objective & goals of the proposed system are:-

To allow only authorized user to access various

functions and processed available in the system.

Locate any A/C wanted by the user.

Reduced clerical work as most of the work done by

computer.

Provide greater speed & reduced time consumption.

To increase the number of A/C and customer.

This will reduced the manual workload and give information

instantly. The software will maintain the list of A/C and customer

record and balance status.

Anuj Singh Chauhan Page: 7

Reg. No:- 503478

Page 6: Bank Management

BANK MANAGEMENT SYSTEM

The software will be user friendly so that even a beginner can

operate the package and thus maintain the status of A/C and

balance status easily.

PROJECT INIATION

Identify a problem or an opportunity.

Analyzing the current system in the light of the

problem/opportunity.

Justification of a new system or a modification of the

old to meet the needs of the users.

1.1 Problem Definition

Recognition of problem

A new opportunity that the present system cannot handle pressures

Managers, non- managers or environment elements usually

recognize problems very rarely by information specialists.

Anuj Singh Chauhan Page: 8

Reg. No:- 503478

Page 7: Bank Management

BANK MANAGEMENT SYSTEM

Managers find out where the problem exists & what the cause

might be.

In defining the problem:

a. Find what makes the situation problematic by:

Observing the process

Interviewing the participants

Examining reports and documentation

b. Define the human activity system (ROOT DEFINITION)

Means of transformation of info

Actors

Owners of the system

Customer of the system

Environmental constraints

c. Form a model of activities and compare it with ROOT

DEFINITON

d. Find a consensus solution changes will be

structural procedural and in attitudes.

Requirement Analysis

Anuj Singh Chauhan Page: 9

Reg. No:- 503478

Page 8: Bank Management

BANK MANAGEMENT SYSTEM

Calculation of the gap between the present performance of the

system and of the best possible one and finding out the system that

can fill in this gap

Using:

Interviews

Surveys

Direct observation

Information requirement of system:

Data to be collected and processed

Output to be produced

The way to make it available for the users

While Determining Information Requirements :

I. FROM PEOPLE

Interviewing: Preferred because:

Anuj Singh Chauhan Page: 10

Reg. No:- 503478

Page 9: Bank Management

BANK MANAGEMENT SYSTEM

Two- way communication including

body language

Stimulates enthusiasm

Establishing trust between user & IS.

Different or opposing ideas can be

expressed.

But answer will be:

Incomplete

Inaccurate

Not clear

Incorrect emphasis

II. FROM EXISTING SYSTEM

The existing procedure that are going to be

replaced

Similar system in other organizations

Standard software solutions

Description of similar system in publications

Anuj Singh Chauhan Page: 11

Reg. No:- 503478

Page 10: Bank Management

BANK MANAGEMENT SYSTEM

III. FROM EXPERIMENTAL METHODS

Prototype: Combination of HW & SW

exhibiting some features of the information system, but

incomplete.

IV. FROM UTILIZING SYSTEM

Analyst is part of the organization where the new

system will be used and information transformation

in this part.

Project Justification

Analyst prepares alternative systems and decides

which to propose by doing COST/BENEFIT

analysis.

Anuj Singh Chauhan Page: 12

Reg. No:- 503478

Page 11: Bank Management

BANK MANAGEMENT SYSTEM

Anuj Singh Chauhan Page: 13

Reg. No:- 503478

Page 12: Bank Management

BANK MANAGEMENT SYSTEM

System Development Life cycle

The structured sequence of operation required imaging developing and

Making operational a new information system it’s a cycle because the

System will need replacement and

Development, cycle will begin.

Anuj Singh Chauhan Page: 14

Reg. No:- 503478

Page 13: Bank Management

BANK MANAGEMENT SYSTEM

Phases of SDLC

1 System Analysis

2 System Design

3 Coding

4 System Testing

5 System Implementation

6 System Maintenance

Anuj Singh Chauhan Page: 15

Reg. No:- 503478

Page 14: Bank Management

BANK MANAGEMENT SYSTEM

PROBLEM FACED IN THE CURRENT SYSTEM

Anuj Singh Chauhan Page: 16

Reg. No:- 503478

Page 15: Bank Management

BANK MANAGEMENT SYSTEM

In the current system data related to

banking is maintained by writing it on to various

registers.

Registers may lost or damage.

Any unauthorized person can access

confidential data.

Any information cannot be easily e\

searched.

Each A/C and customer is assigned a

unique code. Whenever a new book or member is

added then librarian has to search whether that code

is previously existing or not.

When a particular A/c is to be

modified for one or more fields the user can be

modified.

There is time wastage in data

accessing, data entry and while data retrieving from

the banking register.

Anuj Singh Chauhan Page: 17

Reg. No:- 503478

Page 16: Bank Management

BANK MANAGEMENT SYSTEM

FEATURES PROPOSED IN THE CURRENT

SYSTEM

Any information can be easily searched.

All records of A/c`s and customer are stored in

separate files. Which

Are maintained constantly update by system.

Particular A/c information can be modified.

A particular customer record can be modified for one

or more field’s customer name, address by providing

A/c number.

A customer record can be easily deleted by providing

A/c number.

The proposed system provides faster data access, data

entry and retrieval.

The proposed system is more efficient, fast, reliable,

user friendly.

Over and above the proposed system does not have

any possibility of data loss during processing.

Anuj Singh Chauhan Page: 18

Reg. No:- 503478

Page 17: Bank Management

BANK MANAGEMENT SYSTEM

FEASIBILITY STUDY

Depending on the result of the initial investigation the survey was

expanded to a more detailed feasibility study.

Feasibility is the process of defining exactly what is and what

strategic issue needs to be considered to access its feasibility, or

likelihood of succeeding. Feasibility studies are useful both when

starting a new business and identifying a new opportunity for an

existing business.

Feasibility study is a test of a system proposal according to its

workability and impact on the organization, ability to meet user

needs and effective use of resources.

The feasibility study conducted for this project mainly gives

answer to these

Anuj Singh Chauhan Page: 19

Reg. No:- 503478

Page 18: Bank Management

BANK MANAGEMENT SYSTEM

Questions:-

1. What are the user’s demonstrable needs and how

does a candidate system meet them?

2. What resources are available for the given candidate

system? Is the problem worth solving?

3. What is likely impact of the candidate system on the

organization?

4. How well does it fit within the organization’s master

plan?

Answer to this question revolves around investigation and

evaluation of the problem, identification and the description of the

candidate system, specification of performance and the cost of

each system and the final selection of best system.

The objective of this feasibility study is not solving the problem

but acquire a sense of scope. During the study of the problem

definition was crystallized and aspect of the problem to be

included in the system is determined. Anuj Singh Chauhan

Page: 20Reg. No:- 503478

Page 19: Bank Management

BANK MANAGEMENT SYSTEM

Feasibility Consideration

The were three key consideration involved in this feasibility

analysis each consideration has reviewed to depict how it relates to

the system effort.

They are as follows:-

1. Economic feasibility

2. Technical feasibility

3. Operational feasibility

1) ECONOMIC FEASIBILITY

Economic analysis is the most frequently used technique for

evaluating the effectiveness of a proposed system. More

commonly known s cost/benefit

Analysis in this procedure we determine the benefits and

saving that are

Anuj Singh Chauhan Page: 21

Reg. No:- 503478

Page 20: Bank Management

BANK MANAGEMENT SYSTEM

Expected in this procedure we determine the benefits and

saving that are expected from the proposed system and

compare the cost; we take a decision and implement the new

proposed system.

The manual efforts involved in maintaining the A/c and

customer information, the withdrawal, the deposit and

balance calculation, is tremendous. This is so because the

volume of information to be handled is tremendous.

Maintaining the records of these many customers is not easy

and the manpower involved is great. With the help of

computers it is very easy to maintain the detail of book and

library and to keep track of available books.

In case of computerization, the cost involvement is not very

high. As it is used to be about 5-7 years back. All banking

management needs initially is a desktop computer, a printer

and a UPS to maintain continuous supply of electricity.

A single operator can handle many queries. On an average, it

should not take more 10-15 minutes to enter the information

of a customer.

Anuj Singh Chauhan Page: 22

Reg. No:- 503478

Page 21: Bank Management

BANK MANAGEMENT SYSTEM

As part of the feasibility study, an estimate is made whether

the identified user needs may be satisfied using the current

software and hardware. This study decides that whether or

not the proposed system will be cost effective from a

business point of view.

In this case, user has one head clerk who does all the work.

So the one clerk has maintain records regarding new A/c and

deletion of A/c addition and deletion of customer, balance

amount etc.

Since the volume of information to be handled by a single

person is tremendous. An analysis of the various alternatives

suggested by the software development team follows in

subsequent pages.

ALTERNATIVES

1. Hire more staff

2. Develop a computerized system using

VISUAL BASIC & SQL server as database

provider.Anuj Singh Chauhan

Page: 23Reg. No:- 503478

Page 22: Bank Management

BANK MANAGEMENT SYSTEM

3. Develop a computerized system using

VISUAL BASIC & ORACLE as the database

provider.

4. Develop a computerized system using C++ &

maintaining data file i.e. *.dat for database.

Develop a system using C++ and maintaining dat files ( .dat ) for

database.

The last option suggested was to develop a Banking management

system using Turbo C++ and storing the data in dat files that are

easily.

Its Advantages are:-

1. The system will be platform independent and

there will be no need is for purchasing other very

expensive software. The Turbo C++ compiler is

easily and freely available and is compatible with

most of the computers. The system can be upgraded

and maintained easily to keep in tune with specific

needs of the customer. The memory required by this

Anuj Singh Chauhan Page: 24

Reg. No:- 503478

Page 23: Bank Management

BANK MANAGEMENT SYSTEM

software will not be much, so we won’t have to

upgrade the present system (computer).

2. The last alternatives suggested by the software

development team are the cheapest possible one .

Since the Banking already has a computer the only

major expenditure signaled out. The software is text

based so no formal training will have to be imparted.

The compiler is freely available. The only

expenditure that needs to be done is money cost of

software team.

Anuj Singh Chauhan Page: 25

Reg. No:- 503478

Page 24: Bank Management

BANK MANAGEMENT SYSTEM

RESULT

From the above analysis, the development team suggested that the

Banking management should decide to implement the fourth

alternative. i.e. that of developing a new software system using

Turbo C++ and maintaining data in DAT files.

The system will be developed using Turbo C++. The programming

language is c++. Thus without much of an expenditure the bank

will get the perfect software according to their needs.

The system will be very easy to understand and implement. The

management can ask the team for specific reports to be generated

and can also decide on the kinds of interface that it needs.

The various advantage of using DOS executable software is as

follows:-

The software can be made exactly as per the

needs of the management.

Anuj Singh Chauhan Page: 26

Reg. No:- 503478

Page 25: Bank Management

BANK MANAGEMENT SYSTEM

No specific training is required to use the

software. The use just has to enter the fields

according to requirements.

Besides, a graphical user interface (GUI) will

be much more demanding on memory.

No overburdening of work for ‘clerk’ since

most of the work will be performed by the system by

the system itself.

And lastly, the cost of development is very

less compared to other alternatives.

Anuj Singh Chauhan Page: 27

Reg. No:- 503478

Page 26: Bank Management

BANK MANAGEMENT SYSTEM

Plan

The followings plan was made for the development of the software:-

First a prototype was developed and used to know more about the

requirements of the baking management.

The compiler was then installed which is easily available.

The acquired software can be used to execute the up gradation plans

of the library over the next five years.

Since c++ language is used to design the interface. Thus interface can

be designed exactly as per the requirements.

2. Technical Feasibility

This is concerned with specifying equipment and software that will

successfully satisfy the user requirement. The technical needs of the system

may vary considerably, but might include:

- The facility to produce outputs in a given time

- Response time under certain conditions.

Anuj Singh Chauhan Page: 28

Reg. No:- 503478

Page 27: Bank Management

BANK MANAGEMENT SYSTEM

- Ability to process a certain volume of transaction at a particular speed.

- Facility to communicate data to distant location.

After examining technical feasibility, we give more importance to the

configuration of the system than the actual make of hardware. The

configuration gives the complete picture about the system’s requirements:

Ten to twelve workstations are required, these units should be

interconnected through LAN so that they could operate and communicate

smoothly. They should have enough speeds of input and output to achieve a

particular quality of printing.

3. Operational Feasibility

It is mainly related to human organizational and political aspects. The points

to be considered are:

- What changes will be brought with the system?

- What organizational structures are distributed?

- What new skills will be required? Do the existing staff members have

theses skills?

- If not, can they be trained in due course of time?

Generally project will not be rejected simply because of operational

infeasibility but such considerations are likely to critically affect the nature

and scope of the eventual recommendations.

Anuj Singh Chauhan Page: 29

Reg. No:- 503478

Page 28: Bank Management

BANK MANAGEMENT SYSTEM

For operational feasibility study we appointed a small group of people who

are familiar with information system techniques, who understand the parts

of the business that are relevant to the project and are skilled in system

analysis and design process.

WATER FALL MODEL

Anuj Singh Chauhan Page: 30

Reg. No:- 503478

SYSTEM FEASIBILITY

VALIDATION

PROJECT PLANNING

VALIDATION

SYSTEM DESIGN

VERIFICATION

DETAIL DESIGN

VERIFICATION

CODING

VERIFICATION

TESTING ANDINTEGRATION

VERIFICATION

INSTALLATION

VERIFICATION

OPERATION

VERIFICATION

Page 29: Bank Management

BANK MANAGEMENT SYSTEM

Hardware and Software Used

The hardware used by the programmer for developing our project

named “Fast food management system” is as follows:-

i. Pentium III computer -700 mhz

ii. Motherboard –Intel chipset 800

iii. Hard disk capacity -5 GB

iv. RAM – 64 MB

v. Monitors – Color monitor with VGA card having a resolution

640 X 480

Software Used:-

The software used by the programmer for developing our project

named “Bank Management System” is as follows:-

1. Coding of the project – C++

2. Components of the project – C++

Maintenance and recording of data – DatafilesAnuj Singh Chauhan

Page: 31Reg. No:- 503478

Page 30: Bank Management

BANK MANAGEMENT SYSTEM

Anuj Singh Chauhan Page: 32

Reg. No:- 503478

Page 31: Bank Management

BANK MANAGEMENT SYSTEM

ENTITY RELATIONSHIP DIAGRAM

Anuj Singh Chauhan Page: 33

Reg. No:- 503478

USER CUSTOMERCREATE

A/c no.

Balance

Opening Date

Add Name

Page 32: Bank Management

BANK MANAGEMENT SYSTEM

DATA FLOW DIAGRAM

ZERO LEVEL OR CONTEXT DIAGRAM

Grant access

Request for a/c details Reports

Queries Request for access

Request for member details

Anuj Singh Chauhan Page: 34

Reg. No:- 503478

BANKINGPROJECT

USER /ADMINISTRATOR

Page 33: Bank Management

BANK MANAGEMENT SYSTEM

Grant super

User access

1 st LEVEL DFD

Request for a/c info.

If

ok

Anuj Singh Chauhan Page: 35

Reg. No:- 503478

USER /ADMINISTRATOR

USER /ADMINISTRATOR

VERIFY A/c

NUMBER

ACCEPTCHOICE

INITIAL.DAT

Page 34: Bank Management

BANK MANAGEMENT SYSTEM

Anuj Singh Chauhan Page: 36

Reg. No:- 503478

SHOW CUSTOMER

DETAIL

Page 35: Bank Management

BANK MANAGEMENT SYSTEM

2 ND LEVEL DFD

PROCESSING

Anuj Singh Chauhan Page: 37

Reg. No:- 503478

ACCEPT CHOICE FORM USER

ORADMINISTRATOR

USER /ADMINISTRATOR

INTIAL.DAT

7QUIT

6HELP

5EDIT A/C

4 OPEN NEW A/C

3TRANSACTION

2LIST

OF A/C

1SEE

A/C’S

Page 36: Bank Management

BANK MANAGEMENT SYSTEM

1. SEE ACCOUNT

ESC

Anuj Singh Chauhan Page: 38Reg. No:- 503478

USER /ADMINISTRATOR

1.1ACCEPTCHOICE

1.1.2ACCEPTCHOICE

1.1.2.1ACCEPTCHOICE

INTIAL.DAT

Page 37: Bank Management

BANK MANAGEMENT SYSTEM

2.LIST FO ACCOUNTS

ESC

Anuj Singh Chauhan Page: 39Reg. No:- 503478

2.1ACCEPTCHOICE

2.1.1DISPLAY

ALLACCOUNT

USER /ADMINISTRATOR

INTIAL .DAT

Page 38: Bank Management

BANK MANAGEMENT SYSTEM

3.TRANSACTIONS

D W

Save transaction in the file

Anuj Singh Chauhan Page: 40Reg. No:- 503478

USER /ADMINISTRATOR

INTIAL.DAT

3.1ACCEPT CHOICE

3.2.1.1DEPOSIT

ORWITHDRAW

3.1.1ENTER A/C NO.

3.1.1.1.2CASH/

CHEQUE

3.1.1.1.1CASH

/CHEQUE

Page 39: Bank Management

BANK MANAGEMENT SYSTEM

4.OPEN NEW ACCOUNT

Anuj Singh Chauhan Page: 41Reg. No:- 503478

4.1.4INTIALDEPOSI

T

3.1.1.1.2CASH/

CHEQUE

4.1.1NAME

4.1.2ADDRES

S

3.1.1.1.2CASH/

CHEQUEUSER /ADMINISTRATOR

BANKING.DAT

Page 40: Bank Management

BANK MANAGEMENT SYSTEM

5.EDIT ACCOUNT

Anuj Singh Chauhan Page: 42Reg. No:- 503478

5.I.1.1MODIFY

A/C

5.1.1.1.1MODIFY NAME

5.1ACCEPT CHOICE

5.1.1MODIFY

A/C

5.1.2CLOSE

A/C

5.1.3QUIT

5.1.2.1ENTERA/C NO.

5.1.2.1.1DELETERECORD

5.1.1.1.2MODIFYADDRES

S

USER /ADMINISTRATOR

BANKING.DAT

Page 41: Bank Management

BANK MANAGEMENT SYSTEM

6.HELP

ESC

Anuj Singh Chauhan Page: 43Reg. No:- 503478

USER /ADMINISTRATOR

5.1.2.1ENTERA/C NO.

6.1.1HELP

ABOUTMODIFY6.1.1

HELP ABOUT

NEW A/C

6.1.1HELP

ABOUTTRANS.

6.1.1HELP

ABOUTA/C NO..

6.1.1HELP

ABOUTLIST OF

A/C..

Page 42: Bank Management

BANK MANAGEMENT SYSTEM

STRUCTURE CHART

Anuj Singh Chauhan Page: 44Reg. No:- 503478

BANKING MANAGEMENT1

HELP1.6

EDIT1.5

OPEN A NEW A/C1.4

TRANSACTION1.3

LIST OF A/C 1.2

1.2

SEE ACCOUNTI.1

QUIT1.7

Page 43: Bank Management

BANK MANAGEMENT SYSTEM

Anuj Singh Chauhan Page: 45Reg. No:- 503478

SEE A/C NO.I.1.1

DISPLAY A/C INFORMATION

1.1.1.1

SEE ACCOUNTI.1

Page 44: Bank Management

BANK MANAGEMENT SYSTEM

Anuj Singh Chauhan Page: 46Reg. No:- 503478

LIST OF ACCOUNT1.2

DISPLAY ALL THE INFORMATION1.2.1

Page 45: Bank Management

BANK MANAGEMENT SYSTEM

Anuj Singh Chauhan Page: 47Reg. No:- 503478

TRANSACTION1.3

ENTER A/C NO1.3.1

DEPOSIT1.3.1.1

WITHDRAW1.3.1.2.2

CASH1.3.1.1.1

CHEQUE1.3.1.2.2

CASH1.3.1.2.2

CHEQUE1.3.1.1.2

Page 46: Bank Management

BANK MANAGEMENT SYSTEM

Anuj Singh Chauhan Page: 48Reg. No:- 503478

OPEN NEW ACCOUNT

1.4

NAME1.4.1

INTIAL DEPOSIT

1.4.4

VERIFYING PERSON

1.4.3ADDRESS

1.4.2

Page 47: Bank Management

BANK MANAGEMENT SYSTEM

Anuj Singh Chauhan Page: 49Reg. No:- 503478

EDIT ACCOUNT1.5

MODIFY A/C1.5.1

CLOSE A/C1.5.2

ENTER A/C NO1.5.2.1

DELETE A/C1.5.2.1.1

QUIT1.5.3

ENTER A/C NO.1.5.1.1

MODIFY NAME

1.5.1.1.1

MODIFYADDRESS

1.5.1.1.2

Page 48: Bank Management

BANK MANAGEMENT SYSTEM

Anuj Singh Chauhan Page: 50Reg. No:- 503478

HELP1.6

ABOUT A/C1.6.1

ABOUT ALL A/C1.6.2

ABOUT TRANSACTION

1.6.3

ABOUT NEW A/C1.6.4

ABOUTMODIFY A/C

1.6.5

Page 49: Bank Management

BANK MANAGEMENT SYSTEM

DATA DICTIONARY

This project I have 3 data files.

1. INITIAL.DAT- This data file contains all the information about account. For

example initial deposit, deposited amount withdrawal amount ,interest

amount ,account number, opening account date etc.

2. BANKING.DAT- This data file contains all the information about member for

example account number, customer name , customer’s address etc.

3. TEMP.DAT- This data file is used while deleting some information from

INITIAL.DAT or from BANKING.DAT.

In This project 1 have used global functions:

A. void gra1()

B. void gra2()

C. void box(int, int)

Anuj Singh Chauhan Page: 51Reg. No:- 503478

Page 50: Bank Management

BANK MANAGEMENT SYSTEM

These global function are use to display some graphics in program segment.

In this project 1 have used 4 classes:

A. shape

B. control

C. initial

D. account

A.shape-the class contain function related to draw box etc.

Following are the public member function of this class:

Void line hor. (int, int, int , char):-This function helps to draw horizontal line.

Void line ver (int, int, int , char):- This function helps to draw vertical lines.

Void box (int, int, int , char):- This function helps to draw box lines.

B.Control- This class control all the function in the menu.

Following are the member function of their class:

Void main_menu (void)- This function helps to display main menu.

Void help(void)- This function helps to display help about project.

Void edit_menu(void)- This function helps to display edit menu.

C.Initial- This class contain function related to initial deposit.

Anuj Singh Chauhan Page: 52Reg. No:- 503478

Page 51: Bank Management

BANK MANAGEMENT SYSTEM

Variable name Data type Size Information Stored

Acc no Integer variable 2 Account no

Name Array of char 30 Name of the customer

Address Array of char 60 Add of the customer

Balance Float variable 1 balance

Size- number of Bytes allocated to Variable.

Following are the member function of this class:

Void add to file (int , char t_name [30], char t_address [60],float):- This function

adds the given data into the file initial.dat

Void display_list(void):- This function display the list of account in file initial.dat.

Void delete account (int):-This function deletes records for the given account no. from

the file initial.dat.

void update balance(int,float):- This function update balance for the given account no.

in the file initial.dat.

void modify(void):- This function gives the data to modify the record in the file

initial.dat.

int last acc no.(void):- This function return last account no. in the file initial.dat.

int found account(int):- This function returns 1 if the given account no. found in the file

initial.dat.

char *return name(int):- This function return name for the given account no. in the file

initial.dat.

Anuj Singh Chauhan Page: 53Reg. No:- 503478

Page 52: Bank Management

BANK MANAGEMENT SYSTEM

char *return address(int):-This function return address for the given a/c no. in the file

initial.dat.

float give balance(int):- This function return balance for the given account no. in the file

initial.dat.

int record no(int):-This function return record no. of the given account no. in the file

initial.dat.

void display(int):-This function display the account for given account no. from the file

initial.dat.

void modify account(int , char t_name[30], char_t address[60]):- This function

modifies the record for the given data in the file initial.dat

void box for_list(void):- This function display draws the box for the list of accounts.

D. Account:- This class contain function related to transactions.

Anuj Singh Chauhan Page: 54Reg. No:- 503478

Page 53: Bank Management

BANK MANAGEMENT SYSTEM

Variable name Data type Size Information stored

Acc no Integer variable 2 Account number

Type Character

variable

10 Type of the withdrawal

dd ,mmm ,yy Integer variable 2 Date

Tran Character array 1 Deposit or withdrawal

Interest Float variable 2 Interest

Amount Float variable 2 Amount

Balance Float variable 2 Balance

Size:- Number of bytes allocated to variable.

Following are the member function of This class.

Void new account(void):- This function accept the data to add records in the file

banking.dat.

void close account(void):- This function close the account (delete account).

Void display account (void):- This function display records from the file banking.dat.

Void transaction(void):-This function makes transaction(deposit /withdraw)

Void clear(int , int):- This function clear the given row and colmn.

Anuj Singh Chauhan Page: 55Reg. No:- 503478

Page 54: Bank Management

BANK MANAGEMENT SYSTEM

Void add to file (int , int , int , int , char , char t-type[10], float ,float, float):- This

function adds the given data into the file banking.dat.

Void delete account (int ):- This function deletes the record for given account no. from

file banking.dat.

Int no of days ( int ,int ,int .int .int , int):- This function returns the difference between

Two dates.

Float calculate interest (int , float):- This function calculate interest.

Void display(int):- This function is used to delete the information of a member.

Void box for display(int):- This function draws the box for displaying records from file

banking.dat

Anuj Singh Chauhan Page: 56Reg. No:- 503478

Page 55: Bank Management

BANK MANAGEMENT SYSTEM

Anuj Singh Chauhan Page: 57Reg. No:- 503478

Page 56: Bank Management

BANK MANAGEMENT SYSTEM

/ * P r o g r a m t o b a n k a c c o u n t m a n a g e m e n t * /

# i n c l u d e < i o s t r e a m . h >

# i n c l u d e < f s t r e a m . h >

# i n c l u d e < p r o c e s s . h >

# i n c l u d e < s t r i n g . h >

# i n c l u d e < s t d l i b . h >

# i n c l u d e < s t d i o . h >

# i n c l u d e < c t y p e . h >

# i n c l u d e < c o n i o . h >

# i n c l u d e < d o s . h >

c l a s s s h a p e

{

p u b l i c :

v o i d l _ h o r ( i n t , i n t , i n t , c h a r ) ;

v o i d l _ v e r ( i n t , i n t , i n t , c h a r ) ;

v o i d b o x ( i n t , i n t , i n t , i n t , c h a r ) ;

} ;

c l a s s c o n t r o l

{

p u b l i c :

v o i d m a i n _ m e n u ( v o i d ) ;

v o i d h e l p ( v o i d ) ;

Anuj Singh Chauhan Page: 58Reg. No:- 503478

Page 57: Bank Management

BANK MANAGEMENT SYSTEM

p r i v a t e :

v o i d e d i t _ m e n u ( v o i d ) ;

} ;

c l a s s a c c

{

p u b l i c :

v o i d a d d _ t o _ f i l e ( i n t , c h a r t _ n a m e [ 3 0 ] , c h a r

t _ a d d r e s s [ 6 0 ] , f l o a t ) ;

v o i d d i s p l a y _ l i s t ( v o i d ) ;

v o i d d e l e t e _ a c c o u n t ( i n t ) ;

v o i d u p d a t e _ b a l a n c e ( i n t , f l o a t , i n t , i n t , i n t ) ;

f l o a t c a l c u l a t e _ i n t e r e s t ( i n t , f l o a t ) ;

v o i d m o d i f y ( v o i d ) ;

i n t l a s t _ a c c n o ( v o i d ) ;

i n t f o u n d _ a c c o u n t ( i n t ) ;

c h a r * r e t u r n _ n a m e ( i n t ) ;

c h a r * r e t u r n _ a d d r e s s ( i n t ) ;

f l o a t g i v e _ b a l a n c e ( i n t ) ;

i n t r e c o r d n o ( i n t ) ;

v o i d d i s p l a y ( i n t ) ;

p r i v a t e :

v o i d m o d i f y _ a c c o u n t ( i n t , c h a r t _ n a m e [ 3 0 ] ,

c h a r t _ a d d r e s s [ 6 0 ] ) ;

v o i d b o x _ f o r _ l i s t ( v o i d ) ;

i n t a c c n o ;

Anuj Singh Chauhan Page: 59Reg. No:- 503478

Page 58: Bank Management

BANK MANAGEMENT SYSTEM

c h a r n a m e [ 3 0 ] , a d d r e s s [ 6 0 ] ;

f l o a t b a l a n c e ;

i n t d d , m m , y y ;

} ;

c l a s s a c c o u n t

{

p u b l i c : v o i d n e w _ a c c o u n t ( v o i d ) ;

v o i d c l o s e _ a c c o u n t ( v o i d ) ;

v o i d d i s p l a y _ a c c o u n t ( v o i d ) ;

i n t n o _ o f _ d a y s ( i n t , i n t , i n t , i n t , i n t , i n t ) ;

v o i d t r a n s a c t i o n ( v o i d ) ;

v o i d c l e a r ( i n t , i n t ) ;

p r i v a t e :

v o i d a d d _ t o _ f i l e ( i n t , i n t , i n t , i n t , c h a r ,

c h a r t _ t y p e [ 1 0 ] , f l o a t , f l o a t , f l o a t ) ;

v o i d d e l e t e _ a c c o u n t ( i n t ) ;

v o i d d i s p l a y ( i n t ) ;

v o i d b o x _ f o r _ d i s p l a y ( i n t ) ;

i n t a c c n o ;

c h a r t y p e [ 1 0 ] ;

i n t d d , m m , y y ;

c h a r t r a n ;

f l o a t i n t e r e s t , a m o u n t , b a l a n c e ;

} ;

Anuj Singh Chauhan Page: 60Reg. No:- 503478

Page 59: Bank Management

BANK MANAGEMENT SYSTEM

v o i d s h a p e : : l _ h o r ( i n t c o l u m n 1 , i n t c o l u m n 2 , i n t

r o w , c h a r c )

{

f o r ( c o l u m n 1 ; c o l u m n 1 < = c o l u m n 2 ; c o l u m n 1 + + )

{

g o t o x y ( c o l u m n 1 , r o w ) ;

c o u t < < c ;

}

}

v o i d s h a p e : : l _ v e r ( i n t r o w 1 , i n t r o w 2 , i n t c o l u m n ,

c h a r c )

{

f o r ( r o w 1 ; r o w 1 < = r o w 2 ; r o w 1 + + ) {

g o t o x y ( c o l u m n , r o w 1 ) ;

c o u t < < c ;

}

}

v o i d s h a p e : : b o x ( i n t c o l u m n 1 , i n t r o w 1 , i n t

c o l u m n 2 , i n t r o w 2 , c h a r c )

{

c h a r c h = 2 1 8 ;

c h a r c 1 , c 2 , c 3 , c 4 ;

c h a r l 1 = 1 9 6 , l 2 = 1 7 9 ;

i f ( c = = c h )

{

Anuj Singh Chauhan Page: 61Reg. No:- 503478

Page 60: Bank Management

BANK MANAGEMENT SYSTEM

c 1 = 2 1 8 ;

c 2 = 1 9 1 ;

c 3 = 1 9 2 ;

c 4 = 2 1 7 ;

l 1 = 1 9 6 ;

l 2 = 1 7 9 ;

}

e l s e

{

c 1 = c ;

c 2 = c ;

c 3 = c ;

c 4 = c ;

l 1 = c ;

l 2 = c ;

}

g o t o x y ( c o l u m n 1 , r o w 1 ) ;

c o u t < < c 1 ;

g o t o x y ( c o l u m n 2 , r o w 1 ) ;

c o u t < < c 2 ;

g o t o x y ( c o l u m n 1 , r o w 2 ) ;

c o u t < < c 3 ;

g o t o x y ( c o l u m n 2 , r o w 2 ) ;

c o u t < < c 4 ;

c o l u m n 1 + + ;

c o l u m n 2 - - ;

l _ h o r ( c o l u m n 1 , c o l u m n 2 , r o w 1 , l 1 ) ;

Anuj Singh Chauhan Page: 62Reg. No:- 503478

Page 61: Bank Management

BANK MANAGEMENT SYSTEM

l _ h o r ( c o l u m n 1 , c o l u m n 2 , r o w 2 , l 1 ) ;

c o l u m n 1 - - ;

c o l u m n 2 + + ;

r o w 1 + + ;

r o w 2 - - ;

l _ v e r ( r o w 1 , r o w 2 , c o l u m n 1 , l 2 ) ;

l _ v e r ( r o w 1 , r o w 2 , c o l u m n 2 , l 2 ) ;

}

v o i d c o n t r o l : : m a i n _ m e n u ( v o i d )

{

c h a r c h ;

w h i l e ( 1 )

{

c l r s c r ( ) ;

s h a p e s ;

s . b o x ( 1 0 , 5 , 7 1 , 2 1 , 2 1 9 ) ;

s . b o x ( 9 , 4 , 7 2 , 2 2 , 2 1 8 ) ;

t e x t c o l o r ( B L U E ) ;

t e x t b a c k g r o u n d ( W H I T E ) ;

g o t o x y ( 3 2 , 7 ) ;

c p r i n t f ( " B A N K I N G " ) ;

g o t o x y ( 3 5 , 9 ) ;

c p r i n t f ( " O P T I O N S " ) ;

t e x t c o l o r ( G R E E N ) ;

t e x t b a c k g r o u n d ( B L U E ) ;

g o t o x y ( 3 0 , 1 1 ) ;

Anuj Singh Chauhan Page: 63Reg. No:- 503478

Page 62: Bank Management

BANK MANAGEMENT SYSTEM

c o u t < < " 1 : S E E A C C O U N T " ;

g o t o x y ( 3 0 , 1 2 ) ;

c o u t < < " 2 : L I S T O F A C C O U N T S " ;

g o t o x y ( 3 0 , 1 3 ) ;

c o u t < < " 3 : T R A N S A C T I O N S " ;

g o t o x y ( 3 0 , 1 4 ) ;

c o u t < < " 4 : O P E N N E W A C C O U N T " ;

g o t o x y ( 3 0 , 1 5 ) ;

c o u t < < " 5 : E D I T A C C O U N T S " ;

g o t o x y ( 3 0 , 1 6 ) ;

c o u t < < " 6 : H E L P " ;

g o t o x y ( 3 0 , 1 7 ) ;

c o u t < < " 0 : Q U I T " ;

g o t o x y ( 3 0 , 1 9 ) ;

c o u t < < " E n t e r y o u r c h o i c e : " ;

c h = g e t c h e ( ) ;

i f ( c h = = 2 7 )

b r e a k ;

e l s e

i f ( c h = = ' 1 ' )

{

a c c o u n t a ;

a . d i s p l a y _ a c c o u n t ( ) ;

}

e l s e

i f ( c h = = ' 2 ' )

{

Anuj Singh Chauhan Page: 64Reg. No:- 503478

Page 63: Bank Management

BANK MANAGEMENT SYSTEM

a c c i n i ;

i n i . d i s p l a y _ l i s t ( ) ;

}

e l s e

i f ( c h = = ' 3 ' )

{

a c c o u n t a ;

a . t r a n s a c t i o n ( ) ;

}

e l s e

i f ( c h = = ' 4 ' )

{

a c c o u n t a ;

a . n e w _ a c c o u n t ( ) ;

}

e l s e

i f ( c h = = ' 5 ' )

e d i t _ m e n u ( ) ;

e l s e

i f ( c h = = ' 6 ' )

h e l p ( ) ;

e l s e

i f ( c h = = ' 0 ' )

b r e a k ;

}

}

Anuj Singh Chauhan Page: 65Reg. No:- 503478

Page 64: Bank Management

BANK MANAGEMENT SYSTEM

v o i d c o n t r o l : : e d i t _ m e n u ( v o i d )

{

c h a r c h ;

w h i l e ( 1 )

{

c l r s c r ( ) ;

s h a p e s ;

s . b o x ( 1 0 , 5 , 7 1 , 2 1 , 2 1 9 ) ;

s . b o x ( 9 , 4 , 7 2 , 2 2 , 2 1 8 ) ;

t e x t c o l o r ( B L U E ) ;

t e x t b a c k g r o u n d ( W H I T E ) ;

g o t o x y ( 3 4 , 1 0 ) ;

c p r i n t f ( " E D I T M E N U " ) ;

t e x t c o l o r ( G R E E N ) ;

t e x t b a c k g r o u n d ( B L U E ) ;

g o t o x y ( 3 1 , 1 2 ) ;

c o u t < < " 1 : M O D I F Y A C C O U N T " ;

g o t o x y ( 3 1 , 1 3 ) ;

c o u t < < " 2 : C L O S E A C C O U N T " ;

g o t o x y ( 3 1 , 1 4 ) ;

c o u t < < " 0 : Q U I T " ;

g o t o x y ( 3 1 , 1 6 ) ;

c o u t < < " E n t e r y o u r c h o i c e : " ;

c h = g e t c h e ( ) ;

Anuj Singh Chauhan Page: 66Reg. No:- 503478

Page 65: Bank Management

BANK MANAGEMENT SYSTEM

i f ( c h = = 2 7 )

b r e a k ;

e l s e

i f ( c h = = ' 1 ' )

{

a c c i n i ;

i n i . m o d i f y ( ) ;

b r e a k ;

}

e l s e

i f ( c h = = ' 2 ' )

{

a c c o u n t a ;

a . c l o s e _ a c c o u n t ( ) ;

b r e a k ;

}

e l s e

i f ( c h = = ' 0 ' )

b r e a k ;

}

}

v o i d c o n t r o l : : h e l p ( v o i d )

{

c l r s c r ( ) ;

s h a p e s ;

Anuj Singh Chauhan Page: 67Reg. No:- 503478

Page 66: Bank Management

BANK MANAGEMENT SYSTEM

s . b o x ( 2 , 1 , 7 9 , 2 5 , 2 1 8 ) ;

s . b o x ( 2 5 , 2 , 5 4 , 4 , 2 1 9 ) ;

t e x t c o l o r ( G R E E N ) ;

g o t o x y ( 2 7 , 3 ) ; c p r i n t f ( " W E L C O M E T O

I N D I A N B A N K " ) ;

t e x t c o l o r ( G R E E N ) ;

d e l a y ( 1 0 ) ;

g o t o x y ( 1 0 , 6 ) ;

c o u t < < " T h i s B a n k c a n k e e p r e c o r d o f

d a i l y b a n k i n g " ;

d e l a y ( 1 0 ) ;

g o t o x y ( 1 0 , 7 ) ;

c o u t < < " t r a n s a c t i o n s . " ;

d e l a y ( 1 0 ) ;

g o t o x y ( 1 0 , 9 ) ;

c o u t < < " T h i s B a n k i s c a p a b l e o f h o l d i n g a n y

n o . o f a c c o u n t . " ;

d e l a y ( 1 0 ) ;

g o t o x y ( 1 0 , 1 1 ) ;

c o u t < < " - W i t h O P T I O N - 1 y o u c a n s e e t h e

a c c o u n t o f a p e r t i c u l a r " ;

d e l a y ( 1 0 ) ;

g o t o x y ( 1 0 , 1 2 ) ;

c o u t < < " p e r s o n b y g i v i n g s i m p l y a c c o u n t

n o . o f t h a t p e r s o n . " ;

d e l a y ( 1 0 ) ;

g o t o x y ( 1 0 , 1 4 ) ;

Anuj Singh Chauhan Page: 68Reg. No:- 503478

Page 67: Bank Management

BANK MANAGEMENT SYSTEM

c o u t < < " - W i t h O P T I O N - 2 y o u c a n s e e t h e

L i s t o f a l l t h e a c c o u n t s . " ;

d e l a y ( 1 0 ) ;

g o t o x y ( 1 0 , 1 6 ) ;

c o u t < < " - W i t h O P T I O N - 3 y o u c a n d o

b a n k i n g t r a n s a c t i o n s " ;

d e l a y ( 1 0 ) ;

g o t o x y ( 1 0 , 1 7 ) ;

c o u t < < " ( D e p o s i t / W i t h d r a w ) . " ;

d e l a y ( 1 0 ) ;

g o t o x y ( 1 0 , 1 9 ) ;

c o u t < < " - W i t h O P T I O N - 4 y o u c a n O p e n

N e w A c c o u n t . " ;

d e l a y ( 1 0 ) ;

g o t o x y ( 1 0 , 2 0 ) ;

c o u t < < " ( N O T E : O p e n i n g a m o u n t s h o u l d

n o t b e l e s s t h a n R s . 5 0 0 / - " ;

d e l a y ( 1 0 ) ;

g o t o x y ( 1 0 , 2 2 ) ;

c o u t < < " - W i t h O P T I O N - 5 y o u c a n M o d i f y

o r D e l e t e a n y a c c o u n t . " ;

d e l a y ( 1 0 ) ;

g o t o x y ( 1 0 , 2 4 ) ;

c o u t < < " - W i t h O P T I O N - 6 y o u c a n c a l l

h e l p . " ;

d e l a y ( 1 0 ) ;

Anuj Singh Chauhan Page: 69Reg. No:- 503478

Page 68: Bank Management

BANK MANAGEMENT SYSTEM

t e x t c o l o r ( B L U E + B L I N K ) ;

t e x t b a c k g r o u n d ( W H I T E ) ;

g o t o x y ( 2 6 , 2 5 ) ; c p r i n t f ( " P r e s s a n y k e y t o

c o n t i n u e " ) ;

t e x t c o l o r ( G R E E N ) ; t e x t b a c k g r o u n d ( B L U E ) ;

g o t o x y ( 2 5 , 2 ) ;

g e t c h ( ) ;

}

i n t a c c : : l a s t _ a c c n o ( v o i d )

{

f s t r e a m f i l e ;

f i l e . o p e n ( " A C C . D A T " , i o s : : i n ) ;

f i l e . s e e k g ( 0 , i o s : : b e g ) ;

i n t c o u n t = 0 ;

w h i l e ( f i l e . r e a d ( ( c h a r * ) t h i s , s i z e o f ( a c c ) ) )

c o u n t = a c c n o ;

f i l e . c l o s e ( ) ;

r e t u r n c o u n t ;

}

i n t a c c : : r e c o r d n o ( i n t t _ a c c n o )

{

f s t r e a m f i l e ;

f i l e . o p e n ( " A C C . D A T " , i o s : : i n ) ;

f i l e . s e e k g ( 0 , i o s : : b e g ) ;

i n t c o u n t = 0 ;

Anuj Singh Chauhan Page: 70Reg. No:- 503478

Page 69: Bank Management

BANK MANAGEMENT SYSTEM

w h i l e ( f i l e . r e a d ( ( c h a r * ) t h i s , s i z e o f ( a c c ) ) )

{

c o u n t + + ;

i f ( t _ a c c n o = = a c c n o )

b r e a k ;

}

f i l e . c l o s e ( ) ;

r e t u r n c o u n t ;

}

v o i d a c c : : d i s p l a y ( i n t t _ a c c n o )

{

s h a p e s ;

s . b o x ( 8 , 7 , 7 3 , 1 1 , 2 1 9 ) ;

f s t r e a m f i l e ;

f i l e . o p e n ( " A C C . D A T " , i o s : : i n ) ;

f i l e . s e e k g ( 0 , i o s : : b e g ) ;

w h i l e ( f i l e . r e a d ( ( c h a r * ) t h i s , s i z e o f ( a c c ) ) )

{

i f ( t _ a c c n o = = a c c n o )

{

g o t o x y ( 8 , 5 ) ;

c o u t < < " A C C O U N T N O . " < < a c c n o ;

g o t o x y ( 1 0 , 8 ) ;

c o u t < < " N a m e : " < < n a m e ;

g o t o x y ( 1 0 , 9 ) ;

c o u t < < " A d d r e s s : " < < a d d r e s s ;

Anuj Singh Chauhan Page: 71Reg. No:- 503478

Page 70: Bank Management

BANK MANAGEMENT SYSTEM

g o t o x y ( 1 0 , 1 0 ) ;

c o u t < < " B a l a n c e : " < < b a l a n c e ;

b r e a k ;

}

}

f i l e . c l o s e ( ) ;

}

c h a r * a c c : : r e t u r n _ n a m e ( i n t t _ a c c n o )

{

f s t r e a m f i l e ;

f i l e . o p e n ( " A C C . D A T " , i o s : : i n ) ;

f i l e . s e e k g ( 0 , i o s : : b e g ) ;

c h a r t _ n a m e [ 3 0 ] ;

w h i l e ( f i l e . r e a d ( ( c h a r * ) t h i s , s i z e o f ( a c c ) ) )

{

i f ( a c c n o = = t _ a c c n o )

{

s t r c p y ( t _ n a m e , n a m e ) ;

b r e a k ;

}

}

f i l e . c l o s e ( ) ;

r e t u r n t _ n a m e ;

}

Anuj Singh Chauhan Page: 72Reg. No:- 503478

Page 71: Bank Management

BANK MANAGEMENT SYSTEM

c h a r * a c c : : r e t u r n _ a d d r e s s ( i n t t _ a c c n o )

{

f s t r e a m f i l e ;

f i l e . o p e n ( " A C C . D A T " , i o s : : i n ) ;

f i l e . s e e k g ( 0 , i o s : : b e g ) ;

c h a r t _ a d d r e s s [ 6 0 ] ;

w h i l e ( f i l e . r e a d ( ( c h a r * ) t h i s , s i z e o f ( a c c ) ) )

{

i f ( a c c n o = = t _ a c c n o )

{

s t r c p y ( t _ a d d r e s s , a d d r e s s ) ;

b r e a k ;

}

}

f i l e . c l o s e ( ) ;

r e t u r n t _ a d d r e s s ;

}

f l o a t a c c : : g i v e _ b a l a n c e ( i n t t _ a c c n o )

{

f s t r e a m f i l e ;

f i l e . o p e n ( " A C C . D A T " , i o s : : i n ) ;

f i l e . s e e k g ( 0 , i o s : : b e g ) ;

f l o a t t _ b a l a n c e ;

w h i l e ( f i l e . r e a d ( ( c h a r * ) t h i s , s i z e o f ( a c c ) ) )

{

i f ( a c c n o = = t _ a c c n o )

Anuj Singh Chauhan Page: 73Reg. No:- 503478

Page 72: Bank Management

BANK MANAGEMENT SYSTEM

{

t _ b a l a n c e = b a l a n c e ;

b r e a k ;

}

}

f i l e . c l o s e ( ) ;

r e t u r n t _ b a l a n c e ;

}

i n t a c c : : f o u n d _ a c c o u n t ( i n t t _ a c c n o )

{

f s t r e a m f i l e ;

f i l e . o p e n ( " A C C . D A T " , i o s : : i n ) ;

f i l e . s e e k g ( 0 , i o s : : b e g ) ;

i n t f o u n d = 0 ;

w h i l e ( f i l e . r e a d ( ( c h a r * ) t h i s , s i z e o f ( a c c ) ) )

{

i f ( a c c n o = = t _ a c c n o )

{

f o u n d = 1 ;

b r e a k ;

}

}

f i l e . c l o s e ( ) ;

r e t u r n f o u n d ;

}

Anuj Singh Chauhan Page: 74Reg. No:- 503478

Page 73: Bank Management

BANK MANAGEMENT SYSTEM

v o i d a c c : : b o x _ f o r _ l i s t ( )

{

s h a p e s ;

s . b o x ( 2 , 1 , 7 9 , 2 5 , 2 1 8 ) ;

s . l _ h o r ( 3 , 7 8 , 3 , 1 9 6 ) ;

s . l _ h o r ( 3 , 7 8 , 5 , 1 9 6 ) ;

s . l _ h o r ( 3 , 7 8 , 2 3 , 1 9 6 ) ;

t e x t b a c k g r o u n d ( W H I T E ) ;

g o t o x y ( 3 , 4 ) ;

f o r ( i n t i = 1 ; i < = 7 6 ; i + + ) c p r i n t f ( " " ) ;

t e x t b a c k g r o u n d ( B L U E ) ;

t e x t c o l o r ( B L U E ) ; t e x t b a c k g r o u n d ( W H I T E ) ;

g o t o x y ( 4 , 4 ) ;

c p r i n t f ( " A C C O U N T N O . N A M E O F

P E R S O N B A L A N C E " ) ;

t e x t c o l o r ( G R E E N ) ; t e x t b a c k g r o u n d ( B L U E ) ;

i n t d 1 , m 1 , y 1 ;

s t r u c t d a t e d ;

g e t d a t e ( & d ) ;

d 1 = d . d a _ d a y ;

m 1 = d . d a _ m o n ;

y 1 = d . d a _ y e a r ;

g o t o x y ( 4 , 2 ) ;

c o u t < < " D a t e : " < < d 1 < < " / " < < m 1 < < " / " < < y 1 ;

}

v o i d a c c : : d i s p l a y _ l i s t ( v o i d )

Anuj Singh Chauhan Page: 75Reg. No:- 503478

Page 74: Bank Management

BANK MANAGEMENT SYSTEM

{

c l r s c r ( ) ;

b o x _ f o r _ l i s t ( ) ;

i n t r o w = 6 , f l a g ;

f s t r e a m f i l e ;

f i l e . o p e n ( " A C C . D A T " , i o s : : i n ) ;

w h i l e ( f i l e . r e a d ( ( c h a r * ) t h i s , s i z e o f ( a c c ) ) )

{

f l a g = 0 ;

d e l a y ( 1 0 ) ;

g o t o x y ( 7 , r o w ) ;

c o u t < < a c c n o ;

g o t o x y ( 2 5 , r o w ) ;

c o u t < < n a m e ;

g o t o x y ( 5 7 , r o w ) ;

c o u t < < b a l a n c e ;

r o w + + ;

i f ( r o w = = 2 3 )

{

f l a g = 1 ;

r o w = 6 ;

g o t o x y ( 4 , 2 4 ) ;

c o u t < < " P r e s s a n y k e y t o c o n t i n u e . . . " ;

g e t c h ( ) ;

c l r s c r ( ) ;

b o x _ f o r _ l i s t ( ) ;

}

Anuj Singh Chauhan Page: 76Reg. No:- 503478

Page 75: Bank Management

BANK MANAGEMENT SYSTEM

}

f i l e . c l o s e ( ) ;

i f ( ! f l a g )

{

g o t o x y ( 4 , 2 4 ) ;

c o u t < < " P r e s s a n y k e y t o c o n t i n u e . . . " ;

g e t c h ( ) ;

}

}

v o i d a c c : : a d d _ t o _ f i l e ( i n t t _ a c c n o , c h a r

t _ n a m e [ 3 0 ] , c h a r t _ a d d r e s s [ 6 0 ] , f l o a t t _ b a l a n c e )

{

a c c n o = t _ a c c n o ;

s t r c p y ( n a m e , t _ n a m e ) ;

s t r c p y ( a d d r e s s , t _ a d d r e s s ) ;

b a l a n c e = t _ b a l a n c e ;

f s t r e a m f i l e ;

f i l e . o p e n ( " A C C . D A T " , i o s : : o u t | i o s : : a p p ) ;

f i l e . w r i t e ( ( c h a r * ) t h i s , s i z e o f ( a c c ) ) ;

f i l e . c l o s e ( ) ;

}

v o i d a c c : : d e l e t e _ a c c o u n t ( i n t t _ a c c n o )

{

f s t r e a m f i l e ;

f i l e . o p e n ( " A C C . D A T " , i o s : : i n ) ;

Anuj Singh Chauhan Page: 77Reg. No:- 503478

Page 76: Bank Management

BANK MANAGEMENT SYSTEM

f s t r e a m t e m p ;

t e m p . o p e n ( " t e m p . d a t " , i o s : : o u t ) ;

f i l e . s e e k g ( 0 , i o s : : b e g ) ;

w h i l e ( ! f i l e . e o f ( ) )

{

f i l e . r e a d ( ( c h a r * ) t h i s , s i z e o f ( a c c ) ) ;

i f ( f i l e . e o f ( ) )

b r e a k ;

i f ( a c c n o ! = t _ a c c n o )

t e m p . w r i t e ( ( c h a r * ) t h i s , s i z e o f ( a c c ) ) ;

}

f i l e . c l o s e ( ) ;

t e m p . c l o s e ( ) ;

f i l e . o p e n ( " A C C . D A T " , i o s : : o u t ) ;

t e m p . o p e n ( " t e m p . d a t " , i o s : : i n ) ;

t e m p . s e e k g ( 0 , i o s : : b e g ) ;

w h i l e ( ! t e m p . e o f ( ) )

{

t e m p . r e a d ( ( c h a r * ) t h i s , s i z e o f ( a c c ) ) ;

i f ( t e m p . e o f ( ) )

b r e a k ;

f i l e . w r i t e ( ( c h a r * ) t h i s , s i z e o f ( a c c ) ) ;

}

f i l e . c l o s e ( ) ;

t e m p . c l o s e ( ) ;

}

Anuj Singh Chauhan Page: 78Reg. No:- 503478

Page 77: Bank Management

BANK MANAGEMENT SYSTEM

v o i d a c c : : u p d a t e _ b a l a n c e ( i n t t _ a c c n o , f l o a t

t _ b a l a n c e , i n t d 1 , i n t m 1 , i n t y 1 )

{

i n t r e c n o ;

r e c n o = r e c o r d n o ( t _ a c c n o ) ;

f s t r e a m f i l e ;

f i l e . o p e n ( " A C C . D A T " , i o s : : o u t | i o s : : a t e ) ;

b a l a n c e = t _ b a l a n c e ;

d d = d 1 ;

m m = m 1 ;

y y = y 1 ;

i n t l o c a t i o n ;

l o c a t i o n = ( r e c n o - 1 ) * s i z e o f ( a c c ) ;

f i l e . s e e k p ( l o c a t i o n ) ;

f i l e . w r i t e ( ( c h a r * ) t h i s , s i z e o f ( a c c ) ) ;

f i l e . c l o s e ( ) ;

}

v o i d a c c : : m o d i f y _ a c c o u n t ( i n t t _ a c c n o , c h a r

t _ n a m e [ 3 0 ] , c h a r t _ a d d r e s s [ 6 0 ] )

{

i n t r e c n o ;

r e c n o = r e c o r d n o ( t _ a c c n o ) ;

f s t r e a m f i l e ;

f i l e . o p e n ( " A C C . D A T " , i o s : : o u t | i o s : : a t e ) ;

i f ( s t r l e n ( t _ n a m e ) = = 0 )

s t r c p y ( n a m e , n a m e ) ;

Anuj Singh Chauhan Page: 79Reg. No:- 503478

Page 78: Bank Management

BANK MANAGEMENT SYSTEM

e l s e

s t r c p y ( n a m e , t _ n a m e ) ;

i f ( s t r l e n ( t _ a d d r e s s ) = = 0 )

s t r c p y ( a d d r e s s , a d d r e s s ) ;

e l s e

s t r c p y ( a d d r e s s , t _ a d d r e s s ) ;

i n t l o c a t i o n ;

l o c a t i o n = ( r e c n o - 1 ) * s i z e o f ( a c c ) ;

f i l e . s e e k p ( l o c a t i o n ) ;

f i l e . w r i t e ( ( c h a r * ) t h i s , s i z e o f ( a c c ) ) ;

f i l e . c l o s e ( ) ;

}

v o i d a c c : : m o d i f y ( v o i d )

{

c l r s c r ( ) ;

c h a r t _ a c c [ 1 0 ] ;

i n t t , t _ a c c n o ;

g o t o x y ( 7 1 , 1 ) ;

c o u t < < " < 0 > = E x i t " ;

g o t o x y ( 5 , 5 ) ;

c o u t < < " E n t e r t h e a c c o u n t n o . " ;

g e t s ( t _ a c c ) ;

t = a t o i ( t _ a c c ) ;

t _ a c c n o = t ;

i f ( t _ a c c n o = = 0 )

r e t u r n ;

Anuj Singh Chauhan Page: 80Reg. No:- 503478

Page 79: Bank Management

BANK MANAGEMENT SYSTEM

c l r s c r ( ) ;

i f ( ! f o u n d _ a c c o u n t ( t _ a c c n o ) )

{

g o t o x y ( 5 , 5 ) ;

c o u t < < " \ 7 A c c o u n t n o t f o u n d " ;

g e t c h ( ) ;

r e t u r n ;

}

s h a p e s ;

s . b o x ( 2 , 2 , 7 9 , 2 4 , 2 1 8 ) ;

s . l _ h o r ( 3 , 7 8 , 4 , 1 9 6 ) ;

s . l _ h o r ( 3 , 7 8 , 2 2 , 1 9 6 ) ;

g o t o x y ( 7 1 , 1 ) ;

c o u t < < " < 0 > = E x i t " ;

t e x t b a c k g r o u n d ( W H I T E ) ;

g o t o x y ( 3 , 3 ) ;

f o r ( i n t i = 1 ; i < = 7 6 ; i + + ) c p r i n t f ( " " ) ;

t e x t b a c k g r o u n d ( B L U E ) ;

t e x t c o l o r ( B L U E + B L I N K ) ;

t e x t b a c k g r o u n d ( W H I T E ) ;

g o t o x y ( 3 0 , 3 ) ;

c p r i n t f ( " M O D I F Y A C C O U N T S C R E E N " ) ;

t e x t c o l o r ( G R E E N ) ; t e x t b a c k g r o u n d ( G R E E N ) ;

i n t d 1 , m 1 , y 1 ;

s t r u c t d a t e d ;

g e t d a t e ( & d ) ;

d 1 = d . d a _ d a y ;

Anuj Singh Chauhan Page: 81Reg. No:- 503478

Page 80: Bank Management

BANK MANAGEMENT SYSTEM

m 1 = d . d a _ m o n ;

y 1 = d . d a _ y e a r ;

g o t o x y ( 6 2 , 5 ) ;

c o u t < < " D a t e : " < < d 1 < < " / " < < m 1 < < " / " < < y 1 ;

c h a r c h ;

d i s p l a y ( t _ a c c n o ) ;

a c c o u n t a ;

d o

{

a . c l e a r ( 5 , 1 3 ) ;

g o t o x y ( 5 , 1 3 ) ;

c o u t < < " M o d i f y t h i s a c c o u n t ( y / n ) : " ;

c h = g e t c h e ( ) ;

i f ( c h = = ' 0 ' )

r e t u r n ;

c h = t o u p p e r ( c h ) ;

} w h i l e ( c h ! = ' N ' & & c h ! = ' Y ' ) ;

i f ( c h = = ' N ' )

r e t u r n ;

i n t m o d i f i e d = 0 , v a l i d ;

c h a r t _ n a m e [ 3 0 ] , t _ a d d r e s s [ 6 0 ] ;

g o t o x y ( 5 , 1 5 ) ;

c o u t < < " N a m e : " ;

g o t o x y ( 5 , 1 6 ) ;

c o u t < < " A d d r e s s : " ;

d o

Anuj Singh Chauhan Page: 82Reg. No:- 503478

Page 81: Bank Management

BANK MANAGEMENT SYSTEM

{

a . c l e a r ( 1 5 , 1 5 ) ;

a . c l e a r ( 5 , 2 3 ) ;

g o t o x y ( 5 , 2 3 ) ;

c o u t < < " E N T E R N A M E o r P R E S S

< E N T E R > F O R N O C H A N G E " ;

v a l i d = 1 ;

g o t o x y ( 1 5 , 1 5 ) ;

g e t s ( t _ n a m e ) ;

s t r u p r ( t _ n a m e ) ;

i f ( t _ n a m e [ 0 ] = = ' 0 ' )

r e t u r n ;

i f ( s t r l e n ( t _ n a m e ) > 2 5 )

{

v a l i d = 0 ;

g o t o x y ( 5 , 2 3 ) ;

c p r i n t f ( " \ 7 N A M E S H O U L D N O T

H A V E G R E A T E R T H A N 2 5 C H A R A C T E R S " ) ;

g e t c h ( ) ;

}

} w h i l e ( ! v a l i d ) ;

i f ( s t r l e n ( t _ n a m e ) > 0 )

m o d i f i e d = 1 ;

d o

{

a . c l e a r ( 1 5 , 1 6 ) ;

a . c l e a r ( 5 , 2 3 ) ;

Anuj Singh Chauhan Page: 83Reg. No:- 503478

Page 82: Bank Management

BANK MANAGEMENT SYSTEM

g o t o x y ( 5 , 2 3 ) ;

c o u t < < " E N T E R A D D R E S S o r P R E S S

< E N T E R > F O R N O C H A N G E " ;

v a l i d = 1 ;

g o t o x y ( 1 5 , 1 6 ) ;

g e t s ( t _ a d d r e s s ) ;

s t r u p r ( t _ a d d r e s s ) ;

i f ( t _ a d d r e s s [ 0 ] = = ' 0 ' )

r e t u r n ;

i f ( s t r l e n ( t _ a d d r e s s ) > 5 5 )

{

v a l i d = 0 ;

g o t o x y ( 5 , 2 3 ) ;

c p r i n t f ( " \ 7 S H O U L D N O T B E

B L A N K O R G R E A T E R T H A N 5 0

C H A R A C T E R S " ) ;

g e t c h ( ) ;

}

} w h i l e ( ! v a l i d ) ;

i f ( s t r l e n ( t _ a d d r e s s ) > 0 )

m o d i f i e d = 1 ;

i f ( ! m o d i f i e d )

r e t u r n ;

a . c l e a r ( 5 , 2 3 ) ;

d o

{

Anuj Singh Chauhan Page: 84Reg. No:- 503478

Page 83: Bank Management

BANK MANAGEMENT SYSTEM

a . c l e a r ( 5 , 1 8 ) ;

g o t o x y ( 5 , 1 8 ) ;

c o u t < < " D o y o u w a n t t o s a v e c h a n g e s

( y / n ) : " ;

c h = g e t c h e ( ) ;

i f ( c h = = ' 0 ' )

r e t u r n ;

c h = t o u p p e r ( c h ) ;

} w h i l e ( c h ! = ' N ' & & c h ! = ' Y ' ) ;

i f ( c h = = ' N ' )

r e t u r n ;

m o d i f y _ a c c o u n t ( t _ a c c n o , t _ n a m e , t _ a d d r e s s ) ;

g o t o x y ( 5 , 2 1 ) ;

c o u t < < " \ 7 R e c o r d M o d i f i e d " ;

g o t o x y ( 5 , 2 3 ) ;

c o u t < < " P r e s s a n y k e y t o c o n t i n u e . . . " ;

g e t c h ( ) ;

}

v o i d a c c o u n t : : c l e a r ( i n t c o l , i n t r o w )

{

f o r ( i n t i = c o l ; i < = 7 8 ; i + + )

{

g o t o x y ( i , r o w ) ;

c o u t < < " " ;

}

}

Anuj Singh Chauhan Page: 85Reg. No:- 503478

Page 84: Bank Management

BANK MANAGEMENT SYSTEM

v o i d a c c o u n t : : a d d _ t o _ f i l e ( i n t t _ a c c n o , i n t d 1 , i n t

m 1 , i n t y 1 , c h a r t _ t r a n , c h a r t _ t y p e [ 1 0 ] , f l o a t

t _ i n t e r e s t , f l o a t t _ a m o u n t , f l o a t t _ b a l a n c e )

{

f s t r e a m f i l e ;

f i l e . o p e n ( " T R A N S A C T . D A T " , i o s : : a p p ) ;

a c c n o = t _ a c c n o ;

d d = d 1 ;

m m = m 1 ;

y y = y 1 ;

t r a n = t _ t r a n ;

s t r c p y ( t y p e , t _ t y p e ) ;

i n t e r e s t = t _ i n t e r e s t ;

a m o u n t = t _ a m o u n t ;

b a l a n c e = t _ b a l a n c e ;

f i l e . w r i t e ( ( c h a r * ) t h i s , s i z e o f ( a c c o u n t ) ) ;

f i l e . c l o s e ( ) ;

}

v o i d a c c o u n t : : d e l e t e _ a c c o u n t ( i n t t _ a c c n o )

{

f s t r e a m f i l e ;

f i l e . o p e n ( " T R A N S A C T . D A T " , i o s : : i n ) ;

f s t r e a m t e m p ;

t e m p . o p e n ( " t e m p . d a t " , i o s : : o u t ) ;

f i l e . s e e k g ( 0 , i o s : : b e g ) ;

Anuj Singh Chauhan Page: 86Reg. No:- 503478

Page 85: Bank Management

BANK MANAGEMENT SYSTEM

w h i l e ( ! f i l e . e o f ( ) )

{

f i l e . r e a d ( ( c h a r * ) t h i s , s i z e o f ( a c c o u n t ) ) ;

i f ( f i l e . e o f ( ) )

b r e a k ;

i f ( a c c n o ! = t _ a c c n o )

t e m p . w r i t e ( ( c h a r * ) t h i s ,

s i z e o f ( a c c o u n t ) ) ;

}

f i l e . c l o s e ( ) ;

t e m p . c l o s e ( ) ;

f i l e . o p e n ( " T R A N S A C T . D A T " , i o s : : o u t ) ;

t e m p . o p e n ( " t e m p . d a t " , i o s : : i n ) ;

t e m p . s e e k g ( 0 , i o s : : b e g ) ;

w h i l e ( ! t e m p . e o f ( ) )

{

t e m p . r e a d ( ( c h a r * ) t h i s , s i z e o f ( a c c o u n t ) ) ;

i f ( t e m p . e o f ( ) )

b r e a k ;

f i l e . w r i t e ( ( c h a r * ) t h i s , s i z e o f ( a c c o u n t ) ) ;

}

f i l e . c l o s e ( ) ;

t e m p . c l o s e ( ) ;

}

Anuj Singh Chauhan Page: 87Reg. No:- 503478

Page 86: Bank Management

BANK MANAGEMENT SYSTEM

v o i d a c c o u n t : : n e w _ a c c o u n t ( v o i d )

{

c h a r c h ;

i n t i , v a l i d ;

c l r s c r ( ) ;

a c c i n i ;

s h a p e s ;

s . b o x ( 2 , 2 , 7 9 , 2 4 , 2 1 8 ) ;

s . l _ h o r ( 3 , 7 8 , 4 , 1 9 6 ) ;

s . l _ h o r ( 3 , 7 8 , 2 2 , 1 9 6 ) ;

g o t o x y ( 7 1 , 1 ) ;

c o u t < < " < 0 > = E x i t " ;

t e x t b a c k g r o u n d ( W H I T E ) ;

g o t o x y ( 3 , 3 ) ;

f o r ( i = 1 ; i < = 7 6 ; i + + ) c p r i n t f ( " " ) ;

t e x t b a c k g r o u n d ( B L U E ) ;

t e x t c o l o r ( B L U E + B L I N K ) ;

t e x t b a c k g r o u n d ( W H I T E ) ;

g o t o x y ( 3 2 , 3 ) ;

c p r i n t f ( " O P E N N E W A C C O U N T " ) ;

t e x t c o l o r ( G R E E N ) ; t e x t b a c k g r o u n d ( B L U E ) ;

i n t d 1 , m 1 , y 1 ;

s t r u c t d a t e d ;

g e t d a t e ( & d ) ;

d 1 = d . d a _ d a y ;

m 1 = d . d a _ m o n ;

Anuj Singh Chauhan Page: 88Reg. No:- 503478

Page 87: Bank Management

BANK MANAGEMENT SYSTEM

y 1 = d . d a _ y e a r ;

i n t t _ a c c n o ;

t _ a c c n o = i n i . l a s t _ a c c n o ( ) ;

t _ a c c n o + + ;

i f ( t _ a c c n o = = 1 )

{

i n i . a d d _ t o _ f i l e ( t _ a c c n o , " a b c " , " x y z " , 1 . 1 ) ;

i n i . d e l e t e _ a c c o u n t ( t _ a c c n o ) ;

a d d _ t o _ f i l e ( t _ a c c n o , 1 , 1 , 1 9 9 7 , ' D ' , " I N I T I A L " , 1 . 1

, 1 . 1 , 1 . 1 ) ;

d e l e t e _ a c c o u n t ( t _ a c c n o ) ;

}

c h a r t _ n a m e [ 3 0 ] , t [ 1 0 ] , t _ a d d r e s s [ 6 0 ] ;

f l o a t t _ b a l = 0 . 0 , t _ b a l a n c e = 0 . 0 ;

g o t o x y ( 5 , 6 ) ;

c o u t < < " D a t e : " < < d 1 < < " / " < < m 1 < < " / " < < y 1 ;

g o t o x y ( 5 , 8 ) ;

c o u t < < " A c c o u n t n o . # " < < t _ a c c n o ;

g o t o x y ( 5 , 1 0 ) ;

c o u t < < " N a m e : " ;

g o t o x y ( 5 , 1 1 ) ;

c o u t < < " A d d r e s s : " ;

g o t o x y ( 5 , 1 2 ) ;

c o u t < < " N a m e o f V e r i f y i n g p e r s o n : " ;

Anuj Singh Chauhan Page: 89Reg. No:- 503478

Page 88: Bank Management

BANK MANAGEMENT SYSTEM

g o t o x y ( 5 , 1 4 ) ;

c o u t < < " I n i t i a l D e p o s i t : " ;

d o

{

c l e a r ( 1 5 , 1 0 ) ;

c l e a r ( 5 , 2 3 ) ;

g o t o x y ( 5 , 2 3 ) ;

c o u t < < " E N T E R N A M E O F T H E P E R S O N " ;

v a l i d = 1 ;

g o t o x y ( 1 5 , 1 0 ) ;

g e t s ( t _ n a m e ) ;

s t r u p r ( t _ n a m e ) ;

i f ( t _ n a m e [ 0 ] = = ' 0 ' )

r e t u r n ;

i f ( s t r l e n ( t _ n a m e ) = = 0 | | s t r l e n ( t _ n a m e ) >

2 5 )

{

v a l i d = 0 ;

g o t o x y ( 5 , 2 3 ) ;

c p r i n t f ( " \ 7 N A M E S H O U L D N O T B E

B L A N K O R G R E A T E R T H A N 2 5

C H A R A C T E R S " ) ;

g e t c h ( ) ;

}

} w h i l e ( ! v a l i d ) ;

d o

Anuj Singh Chauhan Page: 90Reg. No:- 503478

Page 89: Bank Management

BANK MANAGEMENT SYSTEM

{

c l e a r ( 1 5 , 1 1 ) ;

c l e a r ( 5 , 2 3 ) ;

g o t o x y ( 5 , 2 3 ) ;

c o u t < < " E N T E R A D D R E S S O F T H E

P E R S O N " ;

v a l i d = 1 ;

g o t o x y ( 1 5 , 1 1 ) ;

g e t s ( t _ a d d r e s s ) ;

s t r u p r ( t _ a d d r e s s ) ;

i f ( t _ a d d r e s s [ 0 ] = = ' 0 ' )

r e t u r n ;

i f ( s t r l e n ( t _ a d d r e s s ) = = 0 | |

s t r l e n ( t _ a d d r e s s ) > 5 5 )

{

v a l i d = 0 ;

g o t o x y ( 5 , 2 3 ) ;

c p r i n t f ( " \ 7 S H O U L D N O T B E

B L A N K O R G R E A T E R T H A N 5 0

C H A R A C T E R S " ) ;

g e t c h ( ) ;

}

} w h i l e ( ! v a l i d ) ;

d o

{

c h a r v a r i [ 3 0 ] ;

c l e a r ( 3 1 , 1 2 ) ;

Anuj Singh Chauhan Page: 91Reg. No:- 503478

Page 90: Bank Management

BANK MANAGEMENT SYSTEM

c l e a r ( 5 , 2 3 ) ;

g o t o x y ( 5 , 2 3 ) ;

c o u t < < " E N T E R N A M E O F T H E

V E R I F Y I N G P E R S O N " ;

v a l i d = 1 ;

g o t o x y ( 3 1 , 1 2 ) ;

g e t s ( v a r i ) ;

s t r u p r ( v a r i ) ;

i f ( v a r i [ 0 ] = = ' 0 ' )

r e t u r n ;

i f ( s t r l e n ( v a r i ) = = 0 | | s t r l e n ( v a r i ) > 2 5 )

{

v a l i d = 0 ;

g o t o x y ( 5 , 2 3 ) ;

c p r i n t f ( " \ 7 S H O U L D N O T B E

B L A N K O R G R E A T E R T H A N 2 5

C H A R A C T E R S " ) ;

g e t c h ( ) ;

}

} w h i l e ( ! v a l i d ) ;

d o

{

c l e a r ( 2 3 , 1 4 ) ;

c l e a r ( 5 , 2 3 ) ;

g o t o x y ( 5 , 2 3 ) ;

c o u t < < " E N T E R I N I T I A L A M O U N T T O

B E D E P O S I T E D " ;

Anuj Singh Chauhan Page: 92Reg. No:- 503478

Page 91: Bank Management

BANK MANAGEMENT SYSTEM

v a l i d = 1 ;

g o t o x y ( 2 3 , 1 4 ) ;

g e t s ( t ) ;

t _ b a l = a t o f ( t ) ;

t _ b a l a n c e = t _ b a l ;

i f ( t [ 0 ] = = ' 0 ' )

r e t u r n ;

i f ( t _ b a l a n c e < 5 0 0 )

{

v a l i d = 0 ;

g o t o x y ( 5 , 2 3 ) ;

c p r i n t f ( " \ 7 S H O U L D N O T B E

L E S S T H A N 5 0 0 R U P E E S " ) ;

g e t c h ( ) ;

}

} w h i l e ( ! v a l i d ) ;

c l e a r ( 5 , 2 3 ) ;

d o

{

c l e a r ( 5 , 1 7 ) ;

v a l i d = 1 ;

g o t o x y ( 5 , 1 7 ) ;

c o u t < < " D o y o u w a n t t o s a v e t h e

r e c o r d ( y / n ) : " ;

c h = g e t c h e ( ) ;

i f ( c h = = ' 0 ' )

r e t u r n ;

Anuj Singh Chauhan Page: 93Reg. No:- 503478

Page 92: Bank Management

BANK MANAGEMENT SYSTEM

c h = t o u p p e r ( c h ) ;

} w h i l e ( c h ! = ' N ' & & c h ! = ' Y ' ) ;

i f ( c h = = ' N ' )

r e t u r n ;

f l o a t t _ a m o u n t , t _ i n t e r e s t ;

t _ a m o u n t = t _ b a l a n c e ;

t _ i n t e r e s t = 0 . 0 ;

c h a r t _ t r a n , t _ t y p e [ 1 0 ] ;

t _ t r a n = ' D ' ;

s t r c p y ( t _ t y p e , " I N I T I A L " ) ;

i n i . a d d _ t o _ f i l e ( t _ a c c n o , t _ n a m e , t _ a d d r e s s , t _ b a l

a n c e ) ;

i n i . u p d a t e _ b a l a n c e ( t _ a c c n o , t _ b a l a n c e , d 1 , m 1 , y 1 ) ;

a d d _ t o _ f i l e ( t _ a c c n o , d 1 , m 1 , y 1 , t _ t r a n , t _ t y p e , t _ i n t e r

e s t , t _ a m o u n t , t _ b a l a n c e ) ;

}

v o i d a c c o u n t : : b o x _ f o r _ d i s p l a y ( i n t t _ a c c n o )

{

s h a p e s ;

s . b o x ( 2 , 1 , 7 9 , 2 5 , 2 1 8 ) ;

s . l _ h o r ( 3 , 7 8 , 4 , 1 9 6 ) ;

s . l _ h o r ( 3 , 7 8 , 6 , 1 9 6 ) ;

s . l _ h o r ( 3 , 7 8 , 2 3 , 1 9 6 ) ;

Anuj Singh Chauhan Page: 94Reg. No:- 503478

Page 93: Bank Management

BANK MANAGEMENT SYSTEM

t e x t b a c k g r o u n d ( W H I T E ) ;

g o t o x y ( 3 , 5 ) ;

f o r ( i n t i = 1 ; i < = 7 6 ; i + + ) c p r i n t f ( " " ) ;

t e x t b a c k g r o u n d ( B L U E ) ;

t e x t c o l o r ( B L U E ) ; t e x t b a c k g r o u n d ( W H I T E ) ;

g o t o x y ( 4 , 5 ) ;

c p r i n t f ( " D A T E P A R T I C U L A R

D E P O S I T W I T H D R A W I N T E R E S T

B A L A N C E " ) ;

t e x t c o l o r ( G R E E N ) ; t e x t b a c k g r o u n d ( B L U E ) ;

i n t d 1 , m 1 , y 1 ;

s t r u c t d a t e d ;

g e t d a t e ( & d ) ;

d 1 = d . d a _ d a y ;

m 1 = d . d a _ m o n ;

y 1 = d . d a _ y e a r ;

g o t o x y ( 6 3 , 2 ) ;

c o u t < < " D a t e : " < < d 1 < < " / " < < m 1 < < " / " < < y 1 ;

g o t o x y ( 4 , 2 ) ;

c o u t < < " A c c o u n t n o . " < < t _ a c c n o ;

a c c i n i ;

c h a r t _ n a m e [ 3 0 ] ;

s t r c p y ( t _ n a m e , i n i . r e t u r n _ n a m e ( t _ a c c n o ) ) ;

c h a r t _ a d d r e s s [ 6 0 ] ;

s t r c p y ( t _ a d d r e s s , i n i . r e t u r n _ a d d r e s s ( t _ a c c n o ) ) ;

g o t o x y ( 2 5 , 2 ) ;

c o u t < < t _ n a m e ;

Anuj Singh Chauhan Page: 95Reg. No:- 503478

Page 94: Bank Management

BANK MANAGEMENT SYSTEM

g o t o x y ( 2 5 , 3 ) ;

c o u t < < t _ a d d r e s s ;

}

v o i d a c c o u n t : : d i s p l a y _ a c c o u n t ( v o i d )

{

c l r s c r ( ) ;

c h a r t _ a c c [ 1 0 ] ;

i n t t , t _ a c c n o ;

g o t o x y ( 7 1 , 1 ) ;

c o u t < < " < 0 > = E x i t " ;

g o t o x y ( 5 , 5 ) ;

c o u t < < " E n t e r t h e a c c o u n t n o . " ;

g e t s ( t _ a c c ) ;

t = a t o i ( t _ a c c ) ;

t _ a c c n o = t ;

i f ( t _ a c c n o = = 0 )

r e t u r n ;

c l r s c r ( ) ;

a c c i n i ;

i f ( ! i n i . f o u n d _ a c c o u n t ( t _ a c c n o ) )

{

g o t o x y ( 5 , 5 ) ;

c o u t < < " \ 7 A c c o u n t n o t f o u n d " ;

g e t c h ( ) ;

r e t u r n ;

}

Anuj Singh Chauhan Page: 96Reg. No:- 503478

Page 95: Bank Management

BANK MANAGEMENT SYSTEM

b o x _ f o r _ d i s p l a y ( t _ a c c n o ) ;

i n t r o w = 7 , f l a g ;

f s t r e a m f i l e ;

f i l e . o p e n ( " T R A N S A C T . D A T " , i o s : : i n ) ;

w h i l e ( f i l e . r e a d ( ( c h a r * ) t h i s ,

s i z e o f ( a c c o u n t ) ) )

{

i f ( a c c n o = = t _ a c c n o )

{

f l a g = 0 ;

d e l a y ( 1 0 ) ;

g o t o x y ( 4 , r o w ) ;

c o u t < < d d < < " / " < < m m < < " / " < < y y ;

g o t o x y ( 1 6 , r o w ) ;

c o u t < < t y p e ;

i f ( t r a n = = ' D ' )

g o t o x y ( 3 0 , r o w ) ;

e l s e

g o t o x y ( 4 2 , r o w ) ;

c o u t < < a m o u n t ;

g o t o x y ( 5 6 , r o w ) ;

p r i n t f ( " % . 2 f " , i n t e r e s t ) ; / / D O N E B Y U S

g o t o x y ( 6 6 , r o w ) ;

p r i n t f ( " % . 2 f " , b a l a n c e ) ; / / D O N E B Y U S

r o w + + ;

i f ( r o w = = 2 3 )

Anuj Singh Chauhan Page: 97Reg. No:- 503478

Page 96: Bank Management

BANK MANAGEMENT SYSTEM

{

f l a g = 1 ;

r o w = 7 ;

g o t o x y ( 4 , 2 4 ) ;

c o u t < < " P r e s s a n y k e y

t o c o n t i n u e . . . " ;

g e t c h ( ) ;

c l r s c r ( ) ;

b o x _ f o r _ d i s p l a y ( t _ a c c n o ) ;

}

}

}

f i l e . c l o s e ( ) ;

i f ( ! f l a g )

{

g o t o x y ( 4 , 2 4 ) ;

c o u t < < " P r e s s a n y k e y t o c o n t i n u e . . . " ;

g e t c h ( ) ;

}

}

i n t a c c o u n t : : n o _ o f _ d a y s ( i n t d 1 , i n t m 1 , i n t y 1 ,

i n t d 2 , i n t m 2 , i n t y 2 )

{

s t a t i c i n t m o n t h [ ] =

{ 3 1 , 2 8 , 3 1 , 3 0 , 3 1 , 3 0 , 3 1 , 3 1 , 3 0 , 3 1 , 3 0 , 3 1 } ;

i n t d a y s = 0 ;

Anuj Singh Chauhan Page: 98Reg. No:- 503478

Page 97: Bank Management

BANK MANAGEMENT SYSTEM

w h i l e ( d 1 ! = d 2 | | m 1 ! = m 2 | | y 1 ! = y 2 )

{

d a y s + + ;

d 1 + + ;

i f ( d 1 > m o n t h [ m 1 - 1 ] )

{

d 1 = 1 ;

m 1 + + ;

}

i f ( m 1 > 1 2 )

{

m 1 = 1 ;

y 1 + + ;

}

}

r e t u r n d a y s ;

}

f l o a t a c c : : c a l c u l a t e _ i n t e r e s t ( i n t t _ a c c n o , f l o a t

t _ b a l a n c e )

{

a c c o u n t i n i ;

f s t r e a m f i l e ;

f i l e . o p e n ( " A C C . D A T " , i o s : : i n ) ;

f i l e . s e e k g ( 0 , i o s : : b e g ) ;

i n t d 1 , m 1 , y 1 , d a y s ;

w h i l e ( f i l e . r e a d ( ( c h a r * ) t h i s , s i z e o f ( a c c ) ) )

Anuj Singh Chauhan Page: 99Reg. No:- 503478

Page 98: Bank Management

BANK MANAGEMENT SYSTEM

{

i f ( a c c n o = = t _ a c c n o )

{

d 1 = d d ;

m 1 = m m ;

y 1 = y y ;

b r e a k ;

}

}

i n t d 2 , m 2 , y 2 ;

s t r u c t d a t e d ;

g e t d a t e ( & d ) ;

d 2 = d . d a _ d a y ;

m 2 = d . d a _ m o n ;

y 2 = d . d a _ y e a r ;

f l o a t t _ i n t e r e s t = 0 . 0 ;

i f ( ( y 2 < y 1 ) | | ( y 2 = = y 1 & & m 2 < m 1 ) | |

( y 2 = = y 1 & & m 2 = = m 1 & & d 2 < d 1 ) / * d o n e b y u s * /

| | ( y 2 = = y 1 & & m 2 = = m 1 & & d 2 = = d 1 ) ) / * * /

r e t u r n t _ i n t e r e s t ;

d a y s = i n i . n o _ o f _ d a y s ( d 1 , m 1 , y 1 , d 2 , m 2 , y 2 ) ;

i n t m o n t h s = 0 ;

i f ( d a y s > = 3 0 )

{

m o n t h s = d a y s / 3 0 ;

t _ i n t e r e s t = ( ( t _ b a l a n c e * 2 ) / 1 0 0 ) * m o n t h s ;

}

Anuj Singh Chauhan Page: 100Reg. No:- 503478

Page 99: Bank Management

BANK MANAGEMENT SYSTEM

f i l e . c l o s e ( ) ;

r e t u r n t _ i n t e r e s t ;

}

v o i d a c c o u n t : : t r a n s a c t i o n ( v o i d )

{

c l r s c r ( ) ;

c h a r t _ a c c [ 1 0 ] ;

i n t t , t _ a c c n o , v a l i d ;

g o t o x y ( 7 1 , 1 ) ;

c o u t < < " < 0 > = E x i t " ;

g o t o x y ( 5 , 5 ) ;

c o u t < < " E n t e r t h e a c c o u n t n o . " ;

g e t s ( t _ a c c ) ;

t = a t o i ( t _ a c c ) ;

t _ a c c n o = t ;

i f ( t _ a c c n o = = 0 )

r e t u r n ;

c l r s c r ( ) ;

a c c i n i ;

i f ( ! i n i . f o u n d _ a c c o u n t ( t _ a c c n o ) )

{

g o t o x y ( 5 , 5 ) ;

c o u t < < " \ 7 A c c o u n t n o t f o u n d " ;

g e t c h ( ) ;

r e t u r n ;

}

Anuj Singh Chauhan Page: 101Reg. No:- 503478

Page 100: Bank Management

BANK MANAGEMENT SYSTEM

s h a p e s ;

s . b o x ( 2 , 2 , 7 9 , 2 4 , 2 1 8 ) ;

s . l _ h o r ( 3 , 7 8 , 4 , 1 9 6 ) ;

s . l _ h o r ( 3 , 7 8 , 2 2 , 1 9 6 ) ;

g o t o x y ( 7 1 , 1 ) ;

c o u t < < " < 0 > = E x i t " ;

t e x t b a c k g r o u n d ( W H I T E ) ;

g o t o x y ( 3 , 3 ) ;

f o r ( i n t i = 1 ; i < = 7 6 ; i + + ) c p r i n t f ( " " ) ;

t e x t b a c k g r o u n d ( B L U E ) ;

t e x t c o l o r ( B L U E + B L I N K ) ;

t e x t b a c k g r o u n d ( W H I T E ) ;

g o t o x y ( 2 9 , 3 ) ;

c p r i n t f ( " T R A N S A C T I O N I N A C C O U N T " ) ;

t e x t c o l o r ( G R E E N ) ; t e x t b a c k g r o u n d ( B L U E ) ;

i n t d 1 , m 1 , y 1 ;

s t r u c t d a t e d ;

g e t d a t e ( & d ) ;

d 1 = d . d a _ d a y ;

m 1 = d . d a _ m o n ;

y 1 = d . d a _ y e a r ;

g o t o x y ( 5 , 6 ) ;

c o u t < < " D a t e : " < < d 1 < < " / " < < m 1 < < " / " < < y 1 ;

g o t o x y ( 5 , 8 ) ;

c o u t < < " A c c o u n t n o . # " < < t _ a c c n o ;

c h a r t _ n a m e [ 3 0 ] ;

c h a r t _ a d d r e s s [ 6 0 ] ;

Anuj Singh Chauhan Page: 102Reg. No:- 503478

Page 101: Bank Management

BANK MANAGEMENT SYSTEM

f l o a t t _ b a l a n c e ;

s t r c p y ( t _ n a m e , i n i . r e t u r n _ n a m e ( t _ a c c n o ) ) ;

s t r c p y ( t _ a d d r e s s , i n i . r e t u r n _ a d d r e s s ( t _ a c c n o ) ) ;

t _ b a l a n c e = i n i . g i v e _ b a l a n c e ( t _ a c c n o ) ;

s . b o x ( 2 5 , 1 0 , 7 5 , 1 3 , 2 1 8 ) ;

g o t o x y ( 2 7 , 1 1 ) ;

c o u t < < " N a m e : " < < t _ n a m e ;

g o t o x y ( 2 7 , 1 2 ) ;

c o u t < < " A d d r e s s : " < < t _ a d d r e s s ;

g o t o x y ( 5 , 1 5 ) ;

c o u t < < " L a s t B a l a n c e : R s . " < < t _ b a l a n c e ;

c h a r t _ t r a n , t _ t y p e [ 1 0 ] , t m [ 1 0 ] ;

f l o a t t _ a m o u n t , t _ a m t ;

d o

{

c l e a r ( 5 , 1 8 ) ;

v a l i d = 1 ;

g o t o x y ( 5 , 1 8 ) ;

c o u t < < " D e p o s i t o r W i t h d r a w ( D / W ) : " ;

t _ t r a n = g e t c h e ( ) ;

i f ( t _ t r a n = = ' 0 ' )

r e t u r n ;

t _ t r a n = t o u p p e r ( t _ t r a n ) ;

} w h i l e ( t _ t r a n ! = ' D ' & & t _ t r a n ! = ' W ' ) ;

d o

{

Anuj Singh Chauhan Page: 103Reg. No:- 503478

Page 102: Bank Management

BANK MANAGEMENT SYSTEM

c l e a r ( 5 , 1 9 ) ;

c l e a r ( 5 , 2 3 ) ;

g o t o x y ( 5 , 2 3 ) ;

c o u t < < " E N T E R T R A N S A C T I O N B Y

C A S H O R C H E Q U E " ;

v a l i d = 1 ;

g o t o x y ( 5 , 1 9 ) ;

c o u t < < " ( C a s h / C h e q u e ) : " ;

g e t s ( t _ t y p e ) ;

s t r u p r ( t _ t y p e ) ;

i f ( t _ t y p e [ 0 ] = = ' 0 ' )

r e t u r n ;

i f ( s t r c m p ( t _ t y p e , " C A S H " ) & &

s t r c m p ( t _ t y p e , " C H E Q U E " ) )

{

v a l i d = 0 ;

g o t o x y ( 5 , 2 3 ) ;

c p r i n t f ( " \ 7 E N T E R C O R R E C T L Y

" ) ;

g e t c h ( ) ;

}

} w h i l e ( ! v a l i d ) ;

d o

{

c l e a r ( 5 , 2 1 ) ;

c l e a r ( 5 , 2 3 ) ;

g o t o x y ( 5 , 2 3 ) ;

Anuj Singh Chauhan Page: 104Reg. No:- 503478

Page 103: Bank Management

BANK MANAGEMENT SYSTEM

c o u t < < " E N T E R A M O U N T F O R

T R A N S A C T I O N " ;

v a l i d = 1 ;

g o t o x y ( 5 , 2 1 ) ;

c o u t < < " A m o u n t : R s . " ;

g e t s ( t m ) ;

t _ a m t = a t o f ( t m ) ;

t _ a m o u n t = t _ a m t ;

i f ( t m [ 0 ] = = ' 0 ' )

r e t u r n ;

i f ( ( t _ t r a n = = ' W ' & & t _ a m o u n t >

t _ b a l a n c e ) | | ( t _ a m o u n t < 1 ) )

{

v a l i d = 0 ;

g o t o x y ( 5 , 2 3 ) ;

c p r i n t f ( " \ 7 I N V A L I D D A T A

E N T E R E D " ) ;

g e t c h ( ) ;

}

} w h i l e ( ! v a l i d ) ;

c h a r c h ;

c l e a r ( 5 , 2 3 ) ;

d o

{

c l e a r ( 4 0 , 2 0 ) ;

v a l i d = 1 ;

g o t o x y ( 4 0 , 2 0 ) ;

Anuj Singh Chauhan Page: 105Reg. No:- 503478

Page 104: Bank Management

BANK MANAGEMENT SYSTEM

c o u t < < " S a v e t r a n s a c t i o n ( y / n ) : " ;

c h = g e t c h e ( ) ;

i f ( c h = = ' 0 ' )

r e t u r n ;

c h = t o u p p e r ( c h ) ;

} w h i l e ( c h ! = ' N ' & & c h ! = ' Y ' ) ;

i f ( c h = = ' N ' )

r e t u r n ;

f l o a t t _ i n t e r e s t = 0 . 0 0 ;

t _ i n t e r e s t =

i n i . c a l c u l a t e _ i n t e r e s t ( t _ a c c n o , t _ b a l a n c e ) ;

i f ( t _ t r a n = = ' D ' )

t _ b a l a n c e = t _ b a l a n c e + t _ a m o u n t +

t _ i n t e r e s t ;

e l s e

t _ b a l a n c e = ( t _ b a l a n c e - t _ a m o u n t ) +

t _ i n t e r e s t ;

i n i . u p d a t e _ b a l a n c e ( t _ a c c n o , t _ b a l a n c e , d 1 , m 1 , y 1 )

;

a d d _ t o _ f i l e ( t _ a c c n o , d 1 , m 1 , y 1 , t _ t r a n , t _ t y p e , t _ i n t e r

e s t , t _ a m o u n t , t _ b a l a n c e ) ;

}

v o i d a c c o u n t : : c l o s e _ a c c o u n t ( v o i d )

{

c l r s c r ( ) ;

Anuj Singh Chauhan Page: 106Reg. No:- 503478

Page 105: Bank Management

BANK MANAGEMENT SYSTEM

c h a r t _ a c c [ 1 0 ] ;

i n t t , t _ a c c n o ;

g o t o x y ( 7 1 , 1 ) ;

c o u t < < " < 0 > = E x i t " ;

g o t o x y ( 5 , 5 ) ;

c o u t < < " E n t e r t h e a c c o u n t n o . " ;

g e t s ( t _ a c c ) ;

t = a t o i ( t _ a c c ) ;

t _ a c c n o = t ;

i f ( t _ a c c n o = = 0 )

r e t u r n ;

c l r s c r ( ) ;

a c c i n i ;

i f ( ! i n i . f o u n d _ a c c o u n t ( t _ a c c n o ) )

{

g o t o x y ( 5 , 5 ) ;

c o u t < < " \ 7 A c c o u n t n o t f o u n d " ;

g e t c h ( ) ;

r e t u r n ;

}

s h a p e s ;

s . b o x ( 2 , 2 , 7 9 , 2 4 , 2 1 8 ) ;

s . l _ h o r ( 3 , 7 8 , 4 , 1 9 6 ) ;

s . l _ h o r ( 3 , 7 8 , 2 2 , 1 9 6 ) ;

g o t o x y ( 7 1 , 1 ) ;

c o u t < < " < 0 > = E x i t " ;

t e x t b a c k g r o u n d ( W H I T E ) ;

Anuj Singh Chauhan Page: 107Reg. No:- 503478

Page 106: Bank Management

BANK MANAGEMENT SYSTEM

g o t o x y ( 3 , 3 ) ;

f o r ( i n t i = 1 ; i < = 7 6 ; i + + ) c p r i n t f ( " " ) ;

t e x t b a c k g r o u n d ( B L U E ) ;

t e x t c o l o r ( B L U E + B L I N K ) ;

t e x t b a c k g r o u n d ( W H I T E ) ;

g o t o x y ( 3 0 , 3 ) ;

c p r i n t f ( " C L O S E A C C O U N T S C R E E N " ) ;

t e x t c o l o r ( G R E E N ) ; t e x t b a c k g r o u n d ( B L U E ) ;

i n t d 1 , m 1 , y 1 ;

s t r u c t d a t e d ;

g e t d a t e ( & d ) ;

d 1 = d . d a _ d a y ;

m 1 = d . d a _ m o n ;

y 1 = d . d a _ y e a r ;

g o t o x y ( 6 2 , 5 ) ;

c o u t < < " D a t e : " < < d 1 < < " / " < < m 1 < < " / " < < y 1 ;

c h a r c h ;

i n i . d i s p l a y ( t _ a c c n o ) ;

d o

{

c l e a r ( 5 , 1 5 ) ;

g o t o x y ( 5 , 1 5 ) ;

c o u t < < " C l o s e t h i s a c c o u n t ( y / n ) : " ;

c h = g e t c h e ( ) ;

i f ( c h = = ' 0 ' )

r e t u r n ;

c h = t o u p p e r ( c h ) ;

Anuj Singh Chauhan Page: 108Reg. No:- 503478

Page 107: Bank Management

BANK MANAGEMENT SYSTEM

} w h i l e ( c h ! = ' N ' & & c h ! = ' Y ' ) ;

i f ( c h = = ' N ' )

r e t u r n ;

i n i . d e l e t e _ a c c o u n t ( t _ a c c n o ) ;

d e l e t e _ a c c o u n t ( t _ a c c n o ) ;

g o t o x y ( 5 , 2 0 ) ;

c o u t < < " \ 7 R e c o r d D e l e t e d " ;

g o t o x y ( 5 , 2 3 ) ;

c o u t < < " P r e s s a n y k e y t o c o n t i n u e . . . " ;

g e t c h ( ) ;

}

v o i d m a i n ( v o i d )

{

c o n t r o l c ;

c . h e l p ( ) ;

c . m a i n _ m e n u ( ) ;

}

Anuj Singh Chauhan Page: 109Reg. No:- 503478

Page 108: Bank Management

BANK MANAGEMENT SYSTEM

Anuj Singh Chauhan Page: 110Reg. No:- 503478

Page 109: Bank Management

BANK MANAGEMENT SYSTEM

Anuj Singh Chauhan Page: 111Reg. No:- 503478

Page 110: Bank Management

BANK MANAGEMENT SYSTEM

Anuj Singh Chauhan Page: 112Reg. No:- 503478

Page 111: Bank Management

BANK MANAGEMENT SYSTEM

Anuj Singh Chauhan Page: 113Reg. No:- 503478

Page 112: Bank Management

BANK MANAGEMENT SYSTEM

Anuj Singh Chauhan Page: 114Reg. No:- 503478

Page 113: Bank Management

BANK MANAGEMENT SYSTEM

Anuj Singh Chauhan Page: 115Reg. No:- 503478

Page 114: Bank Management

BANK MANAGEMENT SYSTEM

Anuj Singh Chauhan Page: 116Reg. No:- 503478

Page 115: Bank Management

BANK MANAGEMENT SYSTEM

Anuj Singh Chauhan Page: 117Reg. No:- 503478

Page 116: Bank Management

BANK MANAGEMENT SYSTEM

Anuj Singh Chauhan Page: 118Reg. No:- 503478

Page 117: Bank Management

BANK MANAGEMENT SYSTEM

Anuj Singh Chauhan Page: 119Reg. No:- 503478

Page 118: Bank Management

BANK MANAGEMENT SYSTEM

Anuj Singh Chauhan Page: 120Reg. No:- 503478

Page 119: Bank Management

BANK MANAGEMENT SYSTEM

IMPLEMENTATION

A crucial phase in the system life cycle is the successful implementation of the new

system design. Implementation simply means converting a new system design into

operation. This involves creating computer compatible files, training the operating staff

and installing hardware terminals, and telecommunication network before the system is

up and running.

In system implementation, user training is crucial for minimizing resistance to change

and giving the new system a chance to prove its worth. Training aids such as user-

friendly manuals, a data dictionary and job performance aids that communicate

information about the new system and help screens. Provide the user with a good start on

the new system.

USER MANUAL

Installation

How to use

Installation:- Banking project can easily be installed on to your system.

To install do the following steps

Anuj Singh Chauhan Page: 121Reg. No:- 503478

Page 120: Bank Management

BANK MANAGEMENT SYSTEM

1. Insert floppy disk into floppy drive.

2. Copy "Project" folder from there and paste it to C Drive.

3. A file banking.exe is present in Project folder.

Now Banking project has installed onto your system.

To use banking project double click on banking.exe.

How to use:-

ACCOUNT

If you want to show an information pertaining to account then enter the account no.

CUSTOMER

Of you want to add an information pertaining to customer then choose 4th option

OPEN NEW A/C and then enter CUSTOMER INFORMATION.

If you want to modify an information pertaining to customer then choose the 5th option

EDIT ACCOUNT and then choose 1st option & enter modify CUSTOMER

INFORMATION.

If you want to delete an information pertaining to customer then choose the 5th option

EDIT ACCOUNT and then choose 2nd option & delete CUSTOMER

INFORMATION.

TRANSACTIONS

Anuj Singh Chauhan Page: 122Reg. No:- 503478

Page 121: Bank Management

BANK MANAGEMENT SYSTEM

If you want to deposit/withdraw amount(cash/cheque) choose the 3rd option

TRANSACTION and then make a transaction.

HELP

In case you face any problem regarding operating BANKING PROJECT. At the

running time. Then you can use BANKING PROJECT HELP. For using HELP

choose HELP from the main menu.

Anuj Singh Chauhan Page: 123Reg. No:- 503478

Page 122: Bank Management

BANK MANAGEMENT SYSTEM

SYSTEM MAINTENANCE

Anuj Singh Chauhan Page: 124Reg. No:- 503478

Page 123: Bank Management

BANK MANAGEMENT SYSTEM

Maintenance is the enigma of system development. It holds the software industry captive,

tying up programming resources. Analyst and programmers Spend far more time in

maintaining programs than writing them.

Primary activities of a maintenance procedure

Maintenance activities begin where conversion leaves off. Maintenance is handled by

same planning and control used in a formal system project. Documentation is as much a

part of maintenance as it is of system development. The source program and written

procedures for the system are acquired from the programming banking. Program changes

are then tested and submitted to the user for approval. Once ap0roved, the modified

documentation is filed with the banking management and a project completion notice is

sent to the user, signaling the termination of the project.

BACKUP & RECOVERY

In case of system crash a user may lose all his/her valuable data. To cope with

this problem backup option is given in this system.

This system provides the facility of backup and recovery. Only an

administrator can take the backup and can recover all the files.

Anuj Singh Chauhan Page: 125Reg. No:- 503478

Page 124: Bank Management

BANK MANAGEMENT SYSTEM

To utilize this facility user must have floppy drive on his or her system.

LIMITATIONS

In this world every thing has its own limitations. And limitation in a project is quite

obvious. Even famous software's and operating systems have its own limitations. For

Anuj Singh Chauhan Page: 126Reg. No:- 503478

Page 125: Bank Management

BANK MANAGEMENT SYSTEM

example win 3x does not support USB port. So it's a limitation of win3x that it does not

support USB port.

Due to shortage of time this project has some limitation.

Some of them are as follows:

In this project a book code cannot be more than 30,000. So it's a limitation of this

project that this system cannot maintain more than 30000 books.

Same with member, a member number cannot be more than 30000.

No checks have been made in relation to the entry of duplicate records in book

section. This limitation is also present in the function when we create new members.

And there are some other limitations, which will be faced by USER when he/she will

use this project.

REFERENCES

For the successful completion of this project I referred few books.

Anuj Singh Chauhan Page: 127Reg. No:- 503478

Page 126: Bank Management

BANK MANAGEMENT SYSTEM

I referred M.AWAD for creating ship diagram. Data flow diagram, structure

chart etc.

I referred Ashok N. Kamthane while designing the interface of this project.

I also got information form Balagurusamy, Robert Lafore and Yashavant

Kanetkar.

Anuj Singh Chauhan Page: 128Reg. No:- 503478