You are on page 1of 33

BANK MANAGEMENT SYSTEM

PROBLEM STATEMENT:
A Banking concern by the name ABC Bank wants to
computerize its Banking Services. Bank Management is generally a very
complicated task. o reduce the comple!ity" it wants to computerize its
Banking services and #or this purpose it wants so#tware" which will handle
all its transactions.
he so#tware created must get the overall in#ormation #rom the
user. $t should then give the user an option as to whether the user wants to
make a withdrawal or a deposition.
As the bank #or which the so#tware is to be created provides
loan and locker #acilities" the various activities o# handled by the bank is
provision o# loan" handling the locker #acility and handling the regular
banking services. he so#tware created must allow the user to handle each o#
the service provided by the bank.
he so#tware should manage the bank%s account at the end o#
the year and #inally i# should generate the yearly #inancial report o# the
company.
BANK MANAGEMENT SYSTEM:
PROBLEM STATEMENT&
ABC Bank a nationalized bank wants to computerize some of its services.
Banking services is really a complicated task. Each service has a process of
its own to be carried out. To reduce the complexity the bank wants to
computerize some of its services like maintenance of account holders
details! their transactions! providing interest for fixed deposit account
holders etc.
he so#tware created must get the in#ormation #rom the user. $t should then
give the user an option as what he wants to look into" like the details o# the
account holder" his transactions" interest calculated etc by selecting onto the
correct option.
As the #irm #or which the so#tware is to be created is a Bank"
the various activities o# the bank which the so#tware must carry out is
maintenance o# account holders% details" their transactions" interest
calculation #or #i!ed deposit account holders% etc. he so#tware created must
allow the user to view the details o# the account holder #or each activity.
he so#tware should calculate the interest #or #i!ed deposit
account holders% as per the time given by the user. $t should maintain every
detail o# the account holder.
BANK MANAGEMENT SYSTEM
SOFTWARE REQUIREMENTS SPECIFICATION:
1. INTRODUCTION:
his document is to provide the so#tware re'uirement
speci#ication o# the computerized solutions #or certain banking services. $t
keeps track o# the account holder%s details. $t calculates the interest rate #or
#i!ed deposit account holders%.
1.1. Purpose:
he main purpose o# this so#tware is to enable the easy
maintenance o# account holders% details" their transaction etc.
1.2. Sope:
he so#tware has the ability to keep a track on the account
holders% details.
1.2.1. Be!e"#$s:
Saves time.
(educe errors.
Customer #riendly.
1.2.2. O%&e$#'es:
)rovides #ully automated banking services.
*##icient #unctioning o# the bank.
1.(. De"#!#$#o!s) Aro!*+s A!, A%%re'#-$#o!s:
+S,+perating System
(AM,(andom Access Memory
MB,Mega Byte
-B,-iga Byte
Mbps,Mega bits per second
.//,.ard /isk /rive
BMS,Bank Management System
0A1,0ocal Area 1etwork
1... Re"ere!e:
he books and re#erence materials used during the pre,
development stages o# the pro2ect include&
So#tware *ngineering& A )ractitioner%s Approach By
(oger.S.)ressman.
So#tware *ngineering& $an Sommerviel.
1./. O'er'#e0:
he rest o# this document gives an overview o# the
#eature and #unctions o# the bank management so#tware along with the
technical and non,technical details and the inter#aces.
2. O1ERA22 DESCRIPTION:
2.1. PRODUCT PERSPECTI1E:
he Bank Management System is an application that
remains to be independent. he system inter#aces" user inter#aces and the
hardware inter#aces related with this so#tware is de#ined below&
2.1.1. S*s$e+ I!$er"-es:
he client system must be able to share the data available
in the database through the network.
2.1.2. User I!$er"-es:
he screen #ormats and the menu structure should be in
such a way that the user should #ind it easy to use the product. he product
should be user,#riendly. he #unctionality provided by the system like
displaying error messages should adapt itsel# to the di##erent users o# the
product.
2.1.(. 3-r,0-re I!$er"-es:
3)S 43ninterrupted )ower Supply5 #or backup power during power
#ailure.
Client systems are connected to the 0A1.
Since a 0A1 is to be used #or the network wherein each node is
connected to every other node.
2.1... So"$0-re I!$er"-es:
NAME 1ERSION SOURCE
MS,ACC*SS 6777 or any other
higher version
Microso#t Corporation
+S,8$1/+8S 6777 or any other
higher version
Microso#t Corporation
2.1./. Co++u!#-$#o! I!$er"-es:
here is a 0A1 user #or communication among the
di##erent client systems to be used.
2.1.4. Me+or* Co!s$r-#!$s:
he system should re'uire a disk space o# 67 -B and
69:MB (AM o# the service systems and 9 -B and ;6< (AM #or the client
system.
2.1.5. Oper-$#o!s:
he user can be a sta## or an administrative manager. he
user has to use a login to enter the so#tware and then he=she can check the
details o# the account holders. here must be a backup data" which will
enable easy recovery #rom #ailures" which may catastrophic at times by
clicking on the menu.
2.1.6. S#$e A,-p$#'e Re7u#re+e!$s:
he so#tware re'uires no special re'uirements to adapt to
a particular installation e!cept #or #iles that are to be re,created.
2.2. PRODUCT FUNCTIONS:
he main #unctions are&
Create an account.
Maintain a track on the transactions made by the account
holder.
Calculate the interest #or #i!ed deposit account holders.
/isplay the account holders% details when re'uired.
2.(. USER C3ARACTERISTICS:
$t is enough that the user has a basic knowledge o# C>>
needed #or the operation o# the so#tware. here is no need #or any e!perience
or technical knowledge.
2... CONSTRAINTS:
Re8u9-$or* Po9##es:
$t is mandatory that no te!t bo! must be le#t empty
or contains insu##icient in#ormation.
3-r,0-re 2#+#$-$#o!s:
here must be ;6< MB on board memory.
I!$er"-e $o o$:er -pp9#-$#o!:
1ot applicable.
P-r-99e9 Oper-$#o!s:
$t should support many users at a time.
Co!$ro9 "u!$#o!s:
$n case o# any errors and service problems proper error
handling and other recovery mechanisms must be used.
3#8:er or,er 9-!8u-8e Re7u#re+e!$s:
1ot applicable.
S#8!-9 3-!,s:-;e Pro$oo9:
1ot applicable.
Re9#-%#9#$* Re7u#re+e!$s:
/ata redundancy.
S-"e$* -!, Seur#$* Co!s#,er-$#o!s:
he application must always be e!ited normally.
2./. ASSUMPTIONS AND DEPENDENCIES:
he re'uirements o# the so#tware product will be
changed i# suppose the #eatures or the #unctions o# the system are to be
improved.
2.4. APPORTIONING OF REQUIREMENTS:
1ot applicable.
(. SPECIFIC REQUIREMENTS:
(.1. E<TERNA2 INTERFACE REQUIREMENTS:
(.1.1. User I!$er"-es:
he inter#ace used in -3$ must be easy to
understand. his inter#ace serves as a bridge between the user and the
so#tware. $t also makes the user interaction with the system easy.
he user inter#ace includes&
Sree! "or+-$s = Or8-!#>-$#o!s:
he introductory screen will be the #irst to be displayed
which allows the user to log in using their id and password.
W#!,o0s "or+-$s = Or8-!#>-$#o!s:
8hen the user chooses a particular topic then the
in#ormation pertaining to that topic will be displayed in a new window"
which will allow multiple windows to be available on the screen" and the
user can switch between them.
D-$- For+-$:
he data entered by the user will be alphanumeric.
E!, Mess-8e:
8hen there are some e!ceptions" error messages will be
displayed promptly by the user to re,enter the details when an event has
taken place success#ully.
(.1.2. 3-r,0-re #!$er"-es:
he system must basically support certain hardware and
these must be an inter#ace between them.
NAME OF T3E
ITEM
DESCRIPTION OF
PURPOSE
SOURCE OF INPUT =
DESCRIPTION OF
OUTPUT
?eyboard o get the details o#
#rom the user.
Source o# input
)rinter o print the details o#
the account holder.
/estination o# output
(.1.(. So"$0-re #!$er"-es:
1ot applicable.
(.1... Co++u!#-$#o! #!$er"-es:
*very client system connected through 0A1 establishes a
communication only with server and not with any client system. A 0A1 o#
;7 Mbps is used.
(.2. SOFTWARE PRODUCT FEATURES:
(.2.1. FEATURE 1:CREATING A NEW MEMBER:
he purpose o# this #eature is to create a new member
detail #rom the user.
(.2.1.1. Purpose:
he purpose o# this #eature is to enable the user to enable
him=her to enter the details o# a new account holder.
(.2.1.2. S$#+u9us = Respo!se se7ue!e:
+nce the re'uest is made" a window will appear asking
#or all personal details o# the account holder as to begin a new account.
(.2.1.(. Asso#-$e, "u!$#o!-9#$* re7u#re+e!$:
(.2.1.(.1. Fu!$#o!-9 re7u#re+e!$: Cre-$#!8 - !e0 +e+%er:
$t must check ensure that the user enters valid
in#ormation and display error messages to avoid abnormal interrupts.
(.2.1.(.1.1. I!$ro,u$#o!:
he user must be provided with the te!t and entry bo!
within ;7 seconds.
(.2.1.(.1.2. I!pu$s:
he user has to enter the member id" name o# the account
holder" address" phone number" nature o# account 4whether savings or #i!ed5"
document produced #or address proo#" registration number o# the address
proo#. $t also asks i# the user wants to add new members.
(.2.1.(.1.(. Proess#!8:
(ecognizing the correct input as given by the user.
(.2.1.(.1... Ou$pu$s:
he page corresponding to the chosen #eature will be
displayed.
(.2.2.FEATURE 2:CREDIT=DEBIT ?M-;#!8 $r-!s-$#o!s@:
his #eature is to keep a track on the transaction made by
the account holder.
(.2.2.1. Purpose:
he purpose o# this #eature is to keep on the transactions
made by the account holder. $# the A=C holder credits some amount" the
amount gets added up to his account. $# he withdraws some amount #rom his
account" then that amount is subtracted #rom his account. $t%s compulsory
that the account holder must maintain a minimum balance o# (s. 977 in his
account.
(.2.2.2. S$#+u9us = Respo!se Se7ue!e:
+nce the user chooses that option" the page
corresponding to that is to be displayed.
(.2.2.(. Asso#-$e, Fu!$#o!-9#$* Re7u#re+e!$s:
(.2.2.(.1. Fu!$#o!-9#$* Re7u#re+e!$: Tr-!s-$#o!s:
+nce the user chooses the respective #eature in the page"
they should be taken to the appropriate section establishing them to view the
corresponding page.
(.2.2.(.1.1. I!$ro,u$#o!:
he user has to enter the date on which the A=C holder is
making the transaction.
(.2.2.(.1.2. I!pu$s:
he user has to enter member id o# the A=c holder and the
date on which the transaction is made. he user must enter the nature o#
transaction made 4whether credit or debit5 and the amount.
(.2.2.(.1.(. Proess#!8:
Considering the given input to be correct i# the nature o#
transaction is credit then the amount is added to the account else it taken
#rom the account.
(.2.2.(.1... Ou$pu$s:
he re'uired change is made in the account.
(.2.(. FEATURE (: INTEREST CA2CU2ATION :
he #eature is to calculate the interest #or #i!ed deposit
account holders.
(.2.(.1. Purpose:
he purpose o# this #eature is to calculate the interest
amount #or #i!ed deposit account holders according to the time given by the
user.
(.2.(.2. S$#+u9us = Respo!se Se7ue!e:
he user will be asked to enter the membership number"
the so#tware will calculate the interest.
(.2.(.(. Asso#-$e, Fu!$#o!-9#$* Respo!se:
(.2.(.(.1. Fu!$#o!-9#$* Re7u#re+e!$ (:
$# any one o# the details provided by the user does not meet the
de#ined parameters then it would noti#y the user by displaying error
messages.
(.2.(.(.1.1. I!$ro,u$#o!:
he user can check about the details on the number o#
years since the account has been started.
(.2.(.(.1.2. I!pu$s:
he user has to enter the member id" date" number o#
years since the account has been started and the rate o# interest provided by
the bank.
(.2.(.(.1.(. Proess#!8:
(ecognizing the correct input as given by the user and to
calculate the interest payable by the bank to the account holder.
(.2.(.(.1... Ou$pu$s:
he output is generated in such way that the amount is added
up to account o# the respective A=c holder.
(.2... FEATURE .:ADISP2AYING A= 3O2DERSB DETAI2S :
(.2...1. Purpose "
he purpose is to enable the user to view the details o# the respective
account holder%s details as entered by the user.
(.2...2. S$#+u9us = Respo!se:
8hen the user re'uests to view the details o# a particular account
holder" a screen prompts the user asking whether he want s o view the
member details or to view the transaction details.
(.2...(. Asso#-$e, Fu!$#o!-9 Re7u#re+e!$:
(.2...(.1. Fu!$#o!-9 Re7u#re+e!$s:AD#sp9-*#!8 A= :o9,ersB ,e$-#9s:
$# invalid membership number has been entered" the system must
handle the error and ask the user to enter the proper input.
(.2...(.1.1. I!$ro,u$#o! "
he user must be provided with the re'uested in#ormation
within ;7 seconds.
(.2...(.1.2 . I!pu$s "
he user must enter the correct option whether he wants to view
the member details or the transaction details.

(.2...(.1.( . Proess#!8:
(ecognizing the correct option chosen by the user.
(.2...(.1.. . Ou$pu$ "
/isplays the output with corresponding to the option chosen by
the user.
(.(. PERFORMANCE REQUIREMENTS:
A large database should be present as large data will be
stored.
(... DESIGN CONSTRAINTS:
(e'uires 69: MB onboard memory.
Based completely on windows #unctionality per#ormance.
he so#tware must be valid and accessible only by authorized users.
(./. SOFTWARE SYSTEM ATTRIBUTES:
(./.1. Re9#-%#9#$*:
he #actors needed to establish the so#tware e!pected
reliability are&
he user inputs should be valid and within the given range
1ormal termination o# the program
(./.2. A'-#9-%#9#$*:
he #actors that generate the so#tware availability include
proper termination and correct input details. Also the resource used #or the
pro2ect development is Microso#t certi#ied which speaks o# the high 'uality
standards.
(./.(. Seur#$*:
$t must ensure that the access is provided to authorized users only
through password.
he user o# the service will provide network security.
(./... M-#!$-#!-%#9#$*:
$mplementing the concept o# modularity" which in turn
reduces the comple!ity involved in maintaining it" will develop the so#tware.
(././. Por$-%#9#$*:
The application is very adaptable# it can be used in
different computer systems with different operating systems and folders.
(.4. 2OGICA2 DATA BASE REQUIREMENTS:
he system re'uires the use o# te!t #ile to maintain the account
details about the customer which includes the basic details o# the customer
and the account details.
(.5. OT3ER REQUIREMENTS:
1$0.
.. INDE<:
1$0
/. APPENDICES:
1$0
DATA FLOW DIAGRAM:
LEVEL 0:
Bank
management
system
Create new
member
LEVEL 1(a):
LEVEL 1(b):
LEVEL 2(a):
Bank
staff
Create
new
member
Bank
staff
Credit$debit
%nterest
calculation
&isplay
Accept
details
Member
database
8rite in the
#ile
Bank staff
&isplay
Member
display
ransaction
display
Member
database
ransaction
database
LEVEL 2(b):
LEVEL 2(c):
LEVEL 2(d):
Bank user
Credit$debit
checkid
Transaction
database
'rite into the file
Calculate
Bank user
%nterest
calculation
checkid
Transaction
database
'rite into the file
Calculate
Bank user Member
display
(ead details from
the file
Member database
&isplay
the details
(ead details from
the file
@31C$+1A0 )+$1 A1A0AS$S
Bank management system
@unction oriented so#tware metrics measure o# the #unctionality
delivered by the application as a normalization value. @unction oriented
metrics were #irst proposed by Albrecht BA0BCDE" who suggested a measure
called the #unction point. @unction points are derived using an empirical
relationship based on countable BdirectE measures o# so#tware%s in#ormation
domain and assessments o# so#tware comple!ity.
@ormula
@)Fcount totalGB7.:9> 47.7;G@i5E
@unction point count #or bank management
-eneral System characteristics
@i -eneral system
Characteristics
Ad2ustment #actor Halue
@; /ata communications .ow many communication
#acilities are there to aid in the
trans#er or e!change o#
in#ormation with the application
I
Bank user
ransacti
on
display
Member database
&isplay
the details
@6 /istributed data
processing
.ow are distributed data and
processing #unctions handledJ
6
@I )er#ormance /id the user re'uire response
time or throughputJ
;
@K .eavily used
Con#iguration
.ow heavily used is the current
hardware plat#orm where the
application will be e!ecutedJ
6
@9 ransaction rate .ow #re'uently is transactions
e!ecuted daily" weekly" monthly"
etc.J
I
@: +n line data entry 8hat percentage o# the
in#ormation is entered onlineJ
7
@C *nd user e##iciency 8as the application designed #or
end user e##iciencyJ
K
@< +n line update .ow many $0@%s are updated by
online transactionJ
7
@D Comple! processing /oes the application have
e!tensive logical or
mathematical processingJ
I
@;7 (eusability 8as the application developed to
meet one or many user%s needsJ
6
@;; $nstallation ease .ow di##icult is conversion and
installationJ
6
@;6 +perational ease .ow e##ective and=or automated
are start up" back up and
recovery proceduresJ
6
@;I Multiple sites 8as the application speci#ically
designed" developed and
supported to install at multiple
sites #or multiple organizationsJ
7
@;K @acilitate change 8as the application speci#ically
designed" developed and
supported to #acilitate changeJ
I
+A0 6C
3nad2usted #unction point
ype o# components Comple!ity o# components Halue
*!ternal inputs KGI ;6
*!ternal outputs 6GK <
*!ternal in'uiries 6GI :
*!ternal logical #iles 6GC ;K
*!ternal inter#ace #iles 6G9 ;7
otal 97
@ormula
@) F count totalGB7.:9> 47.7;G@i5E
F 97GB7.:9> 47.7;G6C5E
F K:
@unction point count #or bank management F K:
0ines o# codeFK:G6DF;IIKF;.I?0+C
Code developed in LC>>%
Es$#+-$#o! o" e""or$ us#!8 Coo+o Mo,e9:
aF6.KM bF;.79
*##ort FaG4?0+C5
b

F6.KG4;.I5
;.79

FI.; person,month.
Es$#+-$#o! o" $#+e us#!8 Coo+o Mo,e9:
ype o# )ro2ect F +rganic. hen" cF6.9M dF7.I<
ime F 4*##ort5
d
G c
F 4I.;5
7.I<
G 6.9
F I.< months
Es$#+-$#o! o" Cos$ us#!8 Coo+o Mo,e9:
Cost F I.< G ;7777
F (s. I<"777.
PROGRAM
NincludeOiostream.hP
NincludeOprocess.hP
NincludeOstring.hP
NincludeOconio.hP
NincludeOstdio.hP
NincludeO#stream.hP
#stream h4QR&SStran.docQ"ios&&out"ios&&in5M
struct member
T
int mid"idnoM
char nameB;9E"addressB97EM
char s#"idM
int phoneM
Ua"tempM
struct tran
T
int mid"dateM
char nameB;9EM
char cdM
#loat balM
int no#"rM
#loat balbM
#loat amountM
tran45
T
balbF977M
U
Ub"tM
void line45
T
coutOOendlM
#or4int iF7MiO<7Mi>>5
coutOOQ,QM
coutOOendlM
U
int check4int id5
T
i#stream g4QR&SSbank.docQ5M
while4Vg.eo#455
T
g.read44charG5Wa"sizeo#4a55M
i#4Vg.eo#455
T
i#4a.midFFid5
T
strcpy4b.name"a.name5M
i#4a.s#FFXsX5
return ;M
else
return 7M
U
U
U
g.close45M
U
void credit45
T
int nFh.tellg45M
h.seekg4n"ios&&beg5M
char chM
do
T
line45M
coutOOQSnSt*nter the #ollowing details&QM
coutOOQSnStStMember id&QM
cinPPb.midM
i#4check4b.mid5FF75
T
coutOOQSnSt*rror&$t is a #i!ed deposit accountQM
returnM
U
coutOOQSnSt/ate&QM
cinPPb.dateM
coutOOQSnStcredit4c5=/ebit4d5QM
cinPPb.cdM
coutOOQSnStAmount&QM
cinPPb.amountM
i#4b.cdFFXcX5
b.balFb.balb>b.amountM
else
b.balFb.balb,b.amountM
h.write44charG5Wb"sizeo#4b55M
coutOOQSnSt/o you want to add more transaction4y=n5&QM
cinPPchM
b.balbFb.balM
Uwhile4chFFXyX5M
b.balbF977M
b.balF7M
b.amountF7M
U
void interest45
T
int nFh.tellg45M
h.seekg4n"ios&&beg5M
line45M
coutOOQSnSt*nter the #ollowing details&QM
coutOOQSnStStMember id&QM
cinPPb.midM
i#4check4b.mid5FF;5
T
coutOOQSnSt*rror&$t is a savings deposit accountQM
returnM
U
coutOOQSnSt/ate&QM
cinPPb.dateM
coutOOQSnSt1umber o# years&QM
cinPPb.no#M
coutOOQSnSt(ate o# interest&QM
cinPPb.rM
b.cdFXcXM
b.amountF4b.balbGb.rGb.no#5=;77.77M
b.balFb.balb>b.amountM
h.write44charG5Wb"sizeo#4b55M
h.close45M
U
void create45
T
char chM
o#stream #4QR&SSbank.docQ5M
do
T
line45M
coutOOQSn*nter the details&QM
coutOOQSnStStMember id no&QM
cinPPa.midM
coutOOQSnStSt1ame&QM
gets4a.name5M
coutOOQSnStStAddrees&QM
gets4a.address5M
coutOOQSnStSt)hone number&QM
cinPPa.phoneM
coutOOQSnStStSavings4s5=@i!ed4#5&QM
cinPPa.s#M
coutOOQSnSt,,,,,,,,,,,,SnQM
coutOOQSt/ocument producedQM
coutOOQSnSt(ation card4r5QM
coutOOQSnSt*lection card4e5QM
coutOOQSnSt$dentity card #rom o##ice=institution4i5QM
coutOOQSnStSt*nter appropriate character&QM
cinPPa.idM
coutOOQSnStSt*nter the no&QM
cinPPa.idnoM
coutOOQSnSt,,,,,,,,,,,,,SnQM
coutOOQSnSt/o you want to enter more members4y=n5&QM
#.write44charG5Wa"sizeo#4a55M
cinPPchM
Uwhile4chFFXyX5M
#.close45M
U
void memdis45
T
i#stream g4QR&SSbank.docQ5M
g.read44charG5Wa"sizeo#4a55M
while4Vg.eo#455
T
i#4Vg.eo#455
T
line45M
coutOOQSnhe details&QM
coutOOQSnStStMember id no&QOOa.midM
coutOOQSnStSt1ame&QM
puts4a.name5M
coutOOQSnStStAddrees&QM
puts4a.address5M
coutOOQSnStSt)hone number&QOOa.phoneM
coutOOQSnStStSavings4s5=@i!ed4#5&QOOa.s#M
coutOOQSnSt,,,,,,,,,,,,SnQM
coutOOQSt/ocument producedQM
coutOOQSnSt(ation card4r5QM
coutOOQSnSt*lection card4e5QM
coutOOQSnSt$dentity card #rom o##ice=institution4i5QM
coutOOQSnStSthe member had producedQOOa.idM
coutOOQSnStSt1umber&QOOa.idnoM
coutOOQSnSt,,,,,,,,,,,,,SnQM
getchar45M
g.read44charG5Wa"sizeo#4a55M
U
U
g.close45M
U
void trandis45
T
i#stream i4QR&SStran.docQ5M
line45M
coutOOQSnStStSt(A1SAC$+1QM
line45M
coutOOQSnStMidSt1ameSt/ateStCredit=/ebitStAmountStBalanceQM
line45M
i.read44charG5Wb"sizeo#4b55M
while4Vi.eo#455
T
coutOOQSnStQOOb.midOOQStQOOb.nameOOQStQOOb.dateOOQStQOOb.cdOOQStQOOb.
amountOOQStQOOb.balM
i.read44charG5Wb"sizeo#4b55M
U
line45M
i.close45M
U
void displaymenu45
T
line45M
coutOOQStStSt/$S)0AAQM
line45M
coutOOQSnSt;&Member /etailsQM
coutOOQSnSt6&ransactionsQM
coutOOQSnStI&BackQM
line45M
coutOOQSnStSt*nter your option&QM
U
void display45
T
int optM
do
T
displaymenu45M
cinPPoptM
line45M
switch4opt5
T
case ;& memdis45M
breakM
case 6& trandis45M
breakM
case I& breakM
de#ault&coutOOQ*rror&1ot a vaild optionQM
U
Uwhile4optPI5M
U
void mainmenu45
T
line45M
coutOOQStStStBA1? MA1A-*M*1QM
line45M
coutOOQSnStSt;&Create 1ew MemberQM
coutOOQSnStSt6&Credit=/ebitQM
coutOOQSnStStI&$nterest CalculationQM
coutOOQSnStStK&/isplayQM
coutOOQSnStSt9&*!itQM
line45M
coutOOQSnSt*nter your option&QM
U
void main45
T
int optM
clrscr45M
do
T
mainmenu45M
cinPPoptM
switch4opt5
T
case ;& create45M
breakM
case 6& credit45M
breakM
case I& interest45M
breakM
case K& display45M
breakM
case 9& e!it475M
breakM
de#ault&coutOOQ*rror&1ot a valid optionQM
line45M
breakM
U
getchar45M
Uwhile4;5M
U
OUTPUT
,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
BA1? MA1A-*M*1
,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
;&Create 1ew Member
6&Credit=/ebit
I&$nterest Calculation
K&/isplay
9&*!it
,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
*nter your option&;
,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
*nter the details&
Member id no&;
1ame&subha
Address&mylapore
)hone number&;77
Savings4s5=@i!ed4#5&s
,,,,,,,,,,,,
/ocument produced
(ation card4r5
*lection card4e5
$dentity card #rom o##ice=institution4i5
*nter appropriate character&r
*nter the no&;67
,,,,,,,,,,,,,
/o you want to enter more members4y=n5&y
,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
*nter the details&
Member id no&6
1ame&abinaya
Address&pallikaranai
)hone number&;7;
Savings4s5=@i!ed4#5&#
,,,,,,,,,,,,
/ocument produced
(ation card4r5
*lection card4e5
$dentity card #rom o##ice=institution4i5
*nter appropriate character&r
*nter the no&;66
,,,,,,,,,,,,,
/o you want to enter more members4y=n5&n
,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
BA1? MA1A-*M*1
,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
;&Create 1ew Member
6&Credit=/ebit
I&$nterest Calculation
K&/isplay
9&*!it
,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
*nter your option&6
,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
*nter the #ollowing details&
Member id&;
/ate&6;7<
credit4c5=/ebit4d5c
Amount&9777
/o you want to add more transaction4y=n5&n
,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
BA1? MA1A-*M*1
,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
;&Create 1ew Member
6&Credit=/ebit
I&$nterest Calculation
K&/isplay
9&*!it
,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
*nter your option&I
,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
*nter the #ollowing details&
Member id&6
/ate&6;7<
1umber o# years&6
(ate o# interest&6
,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
BA1? MA1A-*M*1
,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
;&Create 1ew Member
6&Credit=/ebit
I&$nterest Calculation
K&/isplay
9&*!it
,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
*nter your option&K
,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
/$S)0AA
,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
;&Member /etails
6&ransactions
I&Back
,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
*nter your option&;
,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
he details&
Member id no&;
1ame&subha
Addrees&mylapore
)hone number&;77
Savings4s5=@i!ed4#5&s
,,,,,,,,,,,,
/ocument produced
(ation card4r5
*lection card4e5
$dentity card #rom o##ice=institution4i5
he member had producedr
1umber&;67
,,,,,,,,,,,,,
,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
he details&
Member id no&6
1ame&abinaya
Addrees&pallikaranai
)hone number&;7;
Savings4s5=@i!ed4#5&#
,,,,,,,,,,,,
/ocument produced
(ation card4r5
*lection card4e5
$dentity card #rom o##ice=institution4i5
he member had producedr
1umber&;66
,,,,,,,,,,,,,
,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
BA1? MA1A-*M*1
,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
;&Create 1ew Member
6&Credit=/ebit
I&$nterest Calculation
K&/isplay
9&*!it
,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
*nter your option&K
,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
/$S)0AA
,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
;&Member /etails
6&ransactions
I&Back
,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
*nter your option&6
,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
(A1SAC$+1
,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
Mid 1ame /ate Credit=/ebit Amount Balance
,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
; subha 6;7< c 9777 9977
6 abinaya 6;7< c 67 967
,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
BA1? MA1A-*M*1
,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
;&Create 1ew Member
6&Credit=/ebit
I&$nterest Calculation
K&/isplay
9&*!it
,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
*nter your option&9
TEST ASES
INPUT PROESSING OUTPUT
Create new member
create
T
YY..
YY..
YY..
YY..
U
Create new member&
his #unction create
new member details and
writes it into the #ile.
*nter the details&
Member id no&;
1ame& subha
Address&Mylapore
)hone no&;77
Savings4s5=@i!ed4#5&s
Credit=debit
credit
T
YY..
YY..
YY..
YY..
U
Credit=debit
his #unction accepts
the user id and credits
or debits the amount. $t
then saves the
transaction to the #ile.
*nter the #ollowing
details&
Member id&;
/ate&6;7<
Credit4c5&/ebit4d5c
Amount&9777
$nterest calculation
$nterest
T
YY.
YY.
YY.
YY.
YY.
U
$nterest calculation&
his #unction calculates
the interest o# the
member and stores the
transaction to the #ile.
*nter the #ollowing
details&
Member id&;
/ate&6;7<
1umber o# years&6
(ate o# interest&6
ERROR TRACKING:
*rrors per re'uirements speci#ication page & denoted by *re',6
*rrors per component Zdesign level & denoted by *design,6
*rrors per component Zcode level & denoted by *code,7

You might also like