computer science project on banking system

43
7/23/2019 Computer science Project on banking System http://slidepdf.com/reader/full/computer-science-project-on-banking-system 1/43 INDEX Certifcate..............................................2  Acknowledgement ....................................3  About C++...............................................4 Introduction.............................................6 Flow chart...............................................7 Source code............................................8 Screenshots..........................................42  Page | 1

Upload: akashmurali

Post on 18-Feb-2018

225 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Computer science Project on banking System

7/23/2019 Computer science Project on banking System

http://slidepdf.com/reader/full/computer-science-project-on-banking-system 1/43

INDEX

Certifcate..............................................2

 Acknowledgement....................................3

 About C++...............................................4

Introduction.............................................6

Flow chart...............................................7

Source code............................................8

Screenshots..........................................42

  Page | 1

Page 2: Computer science Project on banking System

7/23/2019 Computer science Project on banking System

http://slidepdf.com/reader/full/computer-science-project-on-banking-system 2/43

Certifcate

 This is to certiy that Akash M.S , a studento class !!"# has successully co$%leted the

research on the &elo' $entioned %ro(ectunder the guidance o Mrs. Smitha

)Co$%uter *cience Teacher+ during the year21-"16 in %artial ulfll$ent o Co$%uter*cience %ractical ea$ination conducted &y

/!**C0, e' elhi.

External examiner

Computer Science Teacher

 Acknowledgement

  Page | 2

Page 3: Computer science Project on banking System

7/23/2019 Computer science Project on banking System

http://slidepdf.com/reader/full/computer-science-project-on-banking-system 3/43

!n the acco$%lish$ent o this %ro(ect successully,$any %eo%le hae &est o'ned u%on $e their &lessingsand the heart %ledged su%%ort, this ti$e ! a$ utiliing

to than5 all the %eo%le 'ho hae &een concerned 'iththe %ro(ect.

Pri$arily ! 'ould than5 god or &eing a&le to co$%letethis %ro(ect 'ith success. Then ! 'ould li5e to than5 $yco$%uter science teachers rs.*$itha r.Pius,'hose alua&le guidance has &een the ones thathel%ed $e %atch this %ro(ect and $a5e it ull %roo 

success. Then ! 'ould li5e to than5 $y tea$$ates e'el ,andago%al 9a$a$urthy ,*hah&a $y riends 'hohae $ade alua&le suggestions 'hich had gien anins%iration to i$%roe this %ro(ect. ! than5 all the %eo%leor their hel% &oth directly and indirectly to co$%letethis %ro(ect.

 About C++

  Page | 3

Page 4: Computer science Project on banking System

7/23/2019 Computer science Project on banking System

http://slidepdf.com/reader/full/computer-science-project-on-banking-system 4/43

C:: is an o&(ect oriented %rogra$$ing );;P+language, deelo%ed &y <(arne *troustru%, and is anetension o C language. !t is thereore %ossi&le to code

C:: in a =C style= or =o&(ect"oriented style.= !n certainscenarios, it can &e coded in either 'ay and is thus ane>ectie ea$%le o a hy&rid language.

C:: is a general %ur%ose o&(ect oriented %rogra$$inglanguage. !t is considered to &e an inter$ediate leellanguage, as it enca%sulates &oth high and lo' leellanguage eatures. !nitially, the language 'as called ?C'ith classes@ as it had all %ro%erties o C language 'ith

an additional conce%t o ?classes@. Ao'eer, it 'asrena$ed to C:: in 1B83.

C:: is one o the $ost %o%ular languages %ri$arilyutilied 'ith syste$a%%lication sot'are, driers,client"serer a%%lications and e$&edded fr$'are.

 The $ain highlight o C:: is a collection o %re"defned

classes, 'hich are data ty%es that can &e instantiated$ulti%le ti$es. The language also acilitates declarationo user defned classes. Classes can urtheracco$$odate $e$&er unctions to i$%le$ent s%ecifcunctionality. ulti%le o&(ects o a %articular class can&e defned to i$%le$ent the unctions 'ithin the class.;&(ects can &e defned as instances created at run

ti$e. These classes can also &e inherited &y other ne'classes 'hich ta5e in the %u&lic and %rotectedunctionalities &y deault.

C:: includes seeral o%erators such as co$%arison,arith$etic, &it $ani%ulation, logical o%erators etc. ;neo the $ost attractie eatures o C:: is that it ena&lesthe oerloading o certain o%erators such as addition.

Page | 4

Page 5: Computer science Project on banking System

7/23/2019 Computer science Project on banking System

http://slidepdf.com/reader/full/computer-science-project-on-banking-system 5/43

/ e' o the essential conce%ts 'ithin C::%rogra$$ing language include %oly$or%his$, irtualand riend unctions, te$%lates, na$es%aces and

%ointers.

Introduction

 The %rogra$ can &e used &y a %erson to do daily&an5ing transactions .The unctioning o the %rogra$ is

so designed that it is ery easy to understand ando%erate.

Page | -

Page 6: Computer science Project on banking System

7/23/2019 Computer science Project on banking System

http://slidepdf.com/reader/full/computer-science-project-on-banking-system 6/43

 There are 4 $ain o%tions in the $ain $enu. They are Transactions, Create /ccount, *earch and is%lay elete /ccount.

 The transactions $enu has three su& diisions De%osit, Eithdra' #oan. The de%osit o%tion can &eused to de%osit a certain a$ount o $oney to a s%ecifcaccount. The 'ithdra' o%tion can &e used to 'ithdra'a certain a$ount o $oney ro$ a s%ecifc account. Theloan o%tion is used to o&tain a loan ro$ the &an5.

*earch and dis%lay $enu also has three su& diisions D

Fser dis%lay, re%ort and $odiy. Fser dis%lay is used todis%lay the details o an account &y using the accountnu$&er o the account. 9e%ort o%tion gies the detailedre%ort o all the accounts %resent in the &an5.

 The create account o%tion is used to create a ne'account and the delete account o%tion can &e used todelete an account ro$ the &an5.

 To $a5e the %ro(ect loo5 $ore ascinating a loadingscreen, s%ecial &order dis%lays, elli%tical &eats etc. has&een used.

 This %rogra$ %roides an accurate and ti$ely interacein &an5 $anage$ent.

Flow chart

  Page | 6

Page 7: Computer science Project on banking System

7/23/2019 Computer science Project on banking System

http://slidepdf.com/reader/full/computer-science-project-on-banking-system 7/43

#;G!1

*C9001

6/!1 601F

 T9/1*/CT!

;1

20P;*!T

E!TA29/E

#;/1

C90/T0

/CC;F1T

*0/9CA 7

2!*P#/H

F*09

2!*P#/H

90P;9T

6;2!IH

20#0T0

/CC;F1T

  Page | 7

Page 8: Computer science Project on banking System

7/23/2019 Computer science Project on banking System

http://slidepdf.com/reader/full/computer-science-project-on-banking-system 8/43

Source code

//------------------------------------------------------------------

//*************** HEADER FILES USED ****************

//------------------------------------------------------------------

#include<conio.h>

#include<stdio.h>

#include<string.h>

#include<stdli.h>

#include<!rocess.h>

#include<"th.h>#include<$stre".h>

#include<io"ni!.h>

#include<ct%!e.h>

//------------------------------------------------------------------

//*************** FU&'(I)& DE'LARA(I)&S ****************

//------------------------------------------------------------------

void  loadingint+,void  delayfloat+,

void  Jscreenint+,

void  screen+,void  clearoffintintintintfloat+,void  captionintint+,

void  logointintintfloat+,void   pressint+,

void   menu+,

void  login+,

void   Nscreenint+,

void  keys1+,

void  transaction+,

void   menu_ +,

void  keys2int+,

void  iaddaccount+,void  searchdisplay+,

  Page | 8

Page 9: Computer science Project on banking System

7/23/2019 Computer science Project on banking System

http://slidepdf.com/reader/full/computer-science-project-on-banking-system 9/43

int iuserdisplayintint+,void  ireport+,

void  imodify+,void  impress+,

int checkcharintcharintintchar+,

int irandom intint+,

void   borderintfloat+,void   border2intintintintfloat+,

void   beatintintintfloatint+,

void  arrowint+,

void  idepositwithdrawint+,

int keys3int+,

void  iloan+,

void  columnintint+,

void  ideleteaccount+,

void  verify+,

int i01", // glol 2riles

//-------------------------------------------------------------------------

//********************** (HE 3AI& 4A&5 'LASS **********************

//-------------------------------------------------------------------------

class  bank

6

  int cc,

  char n"e50,

  long int csh,

  char t%!e,

  long int tele,  char ddress50,

   public:

  void  addaccountint+,

  void  searchindividual+,

  void  reportint+,

  void   modify+,

  void  depositlong int+,

  void   withdrawlong int+,

  void  loan+,

  int raccno+

  6

  return cc,  7

  char rname+

  6

  return n"e50,

  7

  int rcash+

  6

  return csh,

  7

  char rtype+

  6

 return

 t%!e,

  7

7,

  Page | B

Page 10: Computer science Project on banking System

7/23/2019 Computer science Project on banking System

http://slidepdf.com/reader/full/computer-science-project-on-banking-system 10/43

//-------------------------------------------------------------------------

//***************** FU&'(I)& () DIS8LA9 (HE L):);4)RDER*******************

//-------------------------------------------------------------------------

void  impress+6 clrscr+,int =rnd+,

  fori=0,i<2,i??+rro@!+,

  goto%11+,

  orderB11"02#5+,

  orderB22$%23#5+,

  goto%11+,

  fori=0,i<,i??+rro@3+,

  orderB11"02#5+,

  logo1551+,c!tion12$+,del%5+,

  goto%11"+,cout<<C(hn1 9ou $or using our Ser2ices See 9ou

soonC,irndo"1+,

  goto%2022+,cout<<C BG-BG JA&S 8K( LI3I(EDC,del%$+,7

//-------------------------------------------------------------------------

//***************** FU&'(I)& () 'REA(E (HE 4I&AR9 FILE ******************

//-------------------------------------------------------------------------

void  iaddaccount+

6

  n1 3,

  o$stre" out$ile,  out$ile.o!enCn1.dtCiosinr%Mios!!+,

  3.ddccount1+,

  out$ile.@ritechar *+;3si&eof3++,

  out$ile.close+,

  "enu+,

7

//-------------------------------------------------------------------------

//**************** FU&'(I)& () 'REA(E A& A'')U&( ******************

//-------------------------------------------------------------------------

void  n1ddccountint h+

6

  int t=0,Jscreen0+,

  o:,

  ifh==1+

  6

  char A20=6

  NONN NN'NNRNNENNANN(NNENN NN AN N'NN'N N)NNUNN&N N(N7

  ,

  fori=0=0,i<00<1!,i??0??+

  6

  goto%5i+, del%!+,

  cout<<A0,

  Page | 1

Page 11: Computer science Project on banking System

7/23/2019 Computer science Project on banking System

http://slidepdf.com/reader/full/computer-science-project-on-banking-system 11/43

  goto%$5i+,

  cout<<A0,

  7

  7

  goto%"+, cout<<CO&"eC,

  goto%1!3+,

  cout<<CM----------------------------------------------------MC,  goto%1!+, cout<<CO OC,

  goto%1!5+,

  cout<<CM----------------------------------------------------MC,

  goto%"$+, cout<<COA/c &oC,

  goto%1!!+,

  cout<<CM--------------------MC,

  goto%1!$+, cout<<CO OC,//!use

  goto%1!"+,

  cout<<CM--------------------MC,

  goto%2$+, cout<<COA/c (%!eC,

  goto%3"+, cout<<C'/SC,

  goto%52!+,  cout<<CM----------------MC,

  goto%52$+, cout<<CO OC,

  goto%52"+,

  cout<<CM----------------MC,

  goto%"10+, cout<<CO8hone C,

  goto%%11+, cout<<C&u"erC,

  goto%1!%+,

  cout<<CM--------------------MC,

  goto%1!10+, cout<<CO OC,

  goto%1!11+,

  cout<<CM--------------------MC,

  goto%210+,  ifh==1+cout<<COInitilC,ifh==2+cout<<CO3odi$iedC,

  goto%511+,

  cout<<CFundC, goto%52%+,

  cout<<CM----------------MC,

  goto%5210+, cout<<CO OC,

  goto%5211+,

  cout<<CM----------------MC,

  goto%"13+, cout<<COAddressC,

  goto%1!12+,

  cout<<CM----------------------------------------------------MC,

  goto%1!13+, cout<<CO OC,

  goto%1!1+,  cout<<CM----------------------------------------------------MC,

  goto%1215+,

  cout<<CI here% cc1no@ledge tht the o2e !ro2ided in$or"tionC,

  goto%121!+, cout<<Cis correctC,

  goto%301$+,

  cout<<CM----------MC,

  goto%301"+, cout<<CO 'LEAR OC,

  goto%301%+,

  cout<<CM----------MC,

  goto%$1$+,

  cout<<CM----------MC,colu"n30+,goto%1322+,cout<<C 8ress ES' to

L):)U( 8ress 4A'5S8A'E to go c1C,

  goto%$1"+,ifh==1+cout<<CO 'REA(E OC,

  ifh==2+cout<<CO 3)DIF9 OC,

  Page | 11

Page 12: Computer science Project on banking System

7/23/2019 Computer science Project on banking System

http://slidepdf.com/reader/full/computer-science-project-on-banking-system 12/43

  goto%$1%+,cout<<CM----------MC,

  ifh==2Mt==1+

  6

  goto%1$+, cout<<n"e,

  goto%1$$+, cout<<cc,

  goto%1$10+, cout<<C C,

  goto%1$10+, cout<<C?PQC,  goto%2110+, cout<<tele,

  goto%53$+, cout<<t%!e,

  goto%5310+, cout<<csh,

  goto%1$13+, cout<<ddress,

  7

  int ch!=0, if!==0+

  6

  6

  goto%%1"+,cout<<C C,

  goto%$+,cout<<C>C,

  7

  ch=getch+,  ifch==!2MMch==!MMch==%MMch==5MMch==%1+

  6

  ifh==1+!=1,else ifh==2+!=2,

  7

  else

  ifch==!0MMch==MMch==32MMch==!1MMch==%3+

  6

  !=$,

  goto%$+,cout<<C C,

  7

  7

  if!==1+  6

  6

  goto%$+,cout<<C C,

  goto%$$+,cout<<C>C,

  7

  ch=getch+,

  ifch==!2MMch==!MMch==%MMch==5MMch==%1+

  6

  !=2,

  7

  else

  ifch==!0MMch==MMch==32MMch==!1MMch==%3+  6

  !=0,

  goto%$$+,cout<<C C,

  goto%$+,cout<<C>C,

  7

  7

  if!==2+

  6

  6

  ifh==2+6

  goto%$+,cout<<C C,

  7

  goto%$$+,cout<<C C,

  goto%1$+,cout<<C>C,

  Page | 12

Page 13: Computer science Project on banking System

7/23/2019 Computer science Project on banking System

http://slidepdf.com/reader/full/computer-science-project-on-banking-system 13/43

  7

  ch=getch+,

  ifch==!2MMch==!MMch==%MMch==5MMch==%1+ !=3,

  else

  ifch==!0MMch==MMch==32MMch==!1MMch==%3+

  6

  ifh==1+6  !=1,

  goto%1$+,cout<<C C,

  goto%$$+,cout<<C>C,

  7

  ifh==2+6

  !=0,goto%1$+,cout<<C C,

  7

  7

  7

  if!==3+6

  6

  goto%1$+,cout<<C C,  goto%$10+,cout<<C>C,

  7

  ch=getch+,

  ifch==!2MMch==!MMch==%MMch==5MMch==%1+!=,

  ifch==!0MMch==MMch==32MMch==!1MMch==%3+

  6

  !=2,

  goto%$10+,cout<<C C,

  goto%1$+,cout<<C>C,

  7

  7

  if!==+  6

  6

  goto%$10+,cout<<C C,

  goto%110+,cout<<C>C,

  7

  ch=getch+,

  ifch==!2MMch==!MMch==%MMch==5MMch==%1+!=5,

  else

  ifch==!0MMch==MMch==32MMch==!1MMch==%3+

  6

  !=3,

  goto%110+,cout<<C C,  goto%$10+,cout<<C>C,

  7

  7

  if!==5+6

  6

  goto%110+,cout<<C C,

  goto%$13+,cout<<C>C,

  7

  ch=getch+,

  ifch==!2MMch==!MMch==%MMch==5MMch==%1+!=!,

  else

 ifch==

!0MMch==

MMch==

32MMch==

!1MMch==

%3+

  6

  !=,

  Page | 13

Page 14: Computer science Project on banking System

7/23/2019 Computer science Project on banking System

http://slidepdf.com/reader/full/computer-science-project-on-banking-system 14/43

  goto%$13+,cout<<C C,

  goto%110+,cout<<C>C,

  7

  7

  if!==!+

  6

  6  goto%$13+,cout<<C C,

  goto%321"+,cout<<C>C,

  7

  ch=getch+,

  ifch==!2MMch==!MMch==%MMch==5MMch==%1+!=$,

  else

  ifch==!0MMch==MMch==32MMch==!1MMch==%3+

  6

  !=5,

  goto%321"+,cout<<C C,

  7

  7  if!==$+

  6

  6

  goto%321"+,cout<<C C,

  goto%%1"+,cout<<C>C,

  7

  ch=getch+,

  ifch==!2MMch==!MMch==%MMch==5MMch==%1+

  6

  !=0,goto%%1"+,cout<<C C,

  7

  else  ifch==!0MMch==MMch==32MMch==!1MMch==%3+

  6

  !=!,

  goto%%1"+,cout<<C C,

  7

  7

  ifch==2$+screen+,

  ifch=="+"enu+,

  ifch==115MMch=="3MMch==10$MMch==$5+

  6

  if !==0+

  6  ifh==1+!=1,ifh==2+!=3,goto%$+,cout<<C C,

  7

  else if!==1+

  6

  !=3,goto%$$+,cout<<C C,

  7

  else

  if!==2+

  6

  !=,goto%1$+,cout<<C C,

  7

 else

 if!==

3MM!==

+

  6

  !=5,

  Page | 14

Page 15: Computer science Project on banking System

7/23/2019 Computer science Project on banking System

http://slidepdf.com/reader/full/computer-science-project-on-banking-system 15/43

  goto%$10+,cout<<C C,

  goto%110+,cout<<C C,

  7

  else  if!==5+

  6

  !=!,

  goto%$13+,cout<<C C,  7

  7

  ifch==!"MMch==100MMch==10"MMch==$!+

  6

  if !==1+

  6

  !=2,goto%$$+,cout<<C C,

  7

  else if!==3+

  6

  !=,

  goto%110+,cout<<C C,  7

  else if!==!+

  6

  !=$,

  goto%321"+,cout<<C C,

  7

  7

  ifch==%$MMch==!5MMch==10!MMch==$+

  6

  if !==2+

  6

  ifh==1+!=1,  goto%1$+,cout<<C C,

  7

  else if!==+

  6

  !=3,

  goto%110+,cout<<C C,

  7

  else if!==$+

  6

  !=!,

  goto%%1"+,cout<<C C,

  7  7

  ifch=="$MMch==11%MMch==$3MMch==105+

  6

  if!==1MM!==2+

  6

  !=0,goto%1$+,cout<<C C,

  goto%$$+,cout<<C C,

  7

  if!==3+6

  ifh==1+!=1,ifh==2+!=2,

  goto%$10+,cout<<C C,

  7

  if!==+6

  !=2,goto%110+,cout<<C C,

  Page | 1-

Page 16: Computer science Project on banking System

7/23/2019 Computer science Project on banking System

http://slidepdf.com/reader/full/computer-science-project-on-banking-system 16/43

  7

  if!==5+

  6

  !=3,

  goto%$13+,cout<<C C,

  7

  if!==!MM!==$+  6

  !=5,

  goto%321"+,cout<<C C,goto%%1"+,cout<<C C,

  7

  7

  ifch==13+

  6

  if!==0+

  6

  goto%$+,cout<<C C,

  goto%1$+,cout<<C C,

  goto%1$+,getsn"e+,  7

  ifh==1+

  if!==1+

  6

  goto%$$+,cout<<C C,

  goto%1$$+,cout<<C C,

  goto%1$$+,cin>>cc,

  7

  if!==2+

  6

  goto%1$+,cout<<C C,

  goto%53$+,cout<<C C,  goto%53$+,cin>>t%!e,

  t%!e=tou!!ert%!e+,

  7

  if!==3+

  6

  goto%$10+,cout<<C C,

  goto%1$10+,cout<<C C,

  goto%1$10+,cout<<C?PQC,

  goto%2110+,cin>>tele,

  7

  if!==+

  6  goto%110+,cout<<C C,

  goto%5310+,cout<<C C,

  goto%5310+,cin>>csh,

  7

  if!==5+

  6

  goto%$13+,cout<<C C,

  goto%1$13+,cout<<C C,

  goto%1$13+,getsddress+,

  7

  if!==!+

  6

  ifh==1+

  6

  Page | 16

Page 17: Computer science Project on banking System

7/23/2019 Computer science Project on banking System

http://slidepdf.com/reader/full/computer-science-project-on-banking-system 17/43

  clrscr+,

  ddccount1+,

  7

  ifh==2+

  6

  clrscr+,ddccount2+,

  7  7

  if!==$+

  6

  ifisl!hn"e1+;;isl!hn"e2+;;isl!hn"e3+++

  6

  clero$$3$"2220+,

  goto%2011+,

  cout<<CEnter "ore thn l!hets $or the n"e C,

  goto%3112+,

  cout<<C 8lese tr% AginC,

  del%!#5+,

  goto o,  7

  ifcc>1000;;cc<10000++

  6

  clero$$3$"2220+,

  goto%2!11+,

  cout<<CIn2lid Account &u"er For"tC,

  goto%3112+,

  cout<<C 8lese tr% AginC,

  del%!#5+,

  goto o,

  7

  ift%!e==N'NMMt%!e==NSN++  6

  clero$$3$"2220+,

  goto%1211+,

  cout<<C In2lid t%!e C,

  goto%2512+,

  cout<<C 8lese tr% AginC,

  del%!#5+,goto o,

  7

  iftele>10000000;;tele<100000000++

  6

  clero$$3$"2220+,

  goto%3011+,  cout<<CIn2lid (ele!hone &u"erC,

  goto%3312+,

  cout<<C 8lese tr% AginC,

  del%!#5+,

  goto o,

  7

  if

isl!hddress1+;;isl!hddress2+;;isl!hddress3+++

  6

  clero$$3$"2220+,

  goto%2011+,

  cout<<CEnter "ore thn l!hets $or the ddress C,

  goto%3212+,

  cout<<C 8lese tr% AginC,

  Page | 17

Page 18: Computer science Project on banking System

7/23/2019 Computer science Project on banking System

http://slidepdf.com/reader/full/computer-science-project-on-banking-system 18/43

  del%!#5+,

  goto o,

  7

  Jscreen0+,

  goto%1015+,

  cout<<C9ou there% cc1no@ledge to the 4I:4Ns (er"s nd

'onditionsC,  ifh==1+

  6

  goto%101!+,cout<<C Do %ou @ish to Acce!t nd 'ontinueC,

  7

  ifh==2+

  6

  goto%"1!+,cout<<C Do %ou @ish to 3odi$%C,

  7

  colu"n21+, int g=1e%s1+,

  ifg==0+

  6

  clrscr+,loding5+,i"!ress+,  goto !,

  7

  ifg==1+

  6

  t=1,clero$$$220+,goto o,

  7

  ifch+goto ,

  7

  7

  goto ,

   p:,

7

//-------------------------------------------------------------------------

//***** FU&'(I)& THI'H E&A4LES 'URS)R 3)KE3E&( (HR)U:H 5E94)ARD III+******

//------------------------------------------------------------------------

int 1e%sint l+

6

  int g=0, char c, l ifg==0+

  6

  6  goto%!20+,cout<<C

C,goto%2!20+,cout<<COC,ifl==1+logo13512#"+,

  7

  c=getch+,

  ifc==!2MMc==!MMc==%MMc==5MMc==%1+g=1,

  else

  ifc==!0MMc==MMc==32MMc==!1MMc==%3+

  6

  g=1,

  goto%2!20+,cout<<C C,

  7

  7

  ifg==1+

  6

  Page | 18

Page 19: Computer science Project on banking System

7/23/2019 Computer science Project on banking System

http://slidepdf.com/reader/full/computer-science-project-on-banking-system 19/43

  6

  goto%2!20+,cout<<C C,

  goto%!20+,cout<<COC,ifl==1+logo13512#"+,

  7

  c=getch+,

  ifc==!2MMc==!MMc==%MMc==5MMc==%1+g=0,

  else  ifc==!0MMc==MMc==32MMc==!1MMc==%3+

  6

  g=0,

  goto%!20+,cout<<C C,

  7

  7

  ifc==!"MMc==100MMc==10"MMc==$!+

  6

  if g==0+

  6

  g=1,goto%!20+,cout<<C C,

  7  7

  ifc==%$MMc==!5MMc==10!MMc==$+

  6

  if g==1+

  6

  g=0,goto%2!20+,cout<<C C,

  7

  7

  ifc==13+return g,

  ifc+goto l,goto l,

7

//-------------------------------------------------------------------------

//************** FU&'(I)& () SEAR'H A&D DIS8LA9 A& A'')U&( ****************

//-------------------------------------------------------------------------

int iuserdis!l%int int r=1+

6

  int n,

  ifr==1+

  &screen5+,

  int =0,n1 J,  i$stre" in$ile,

  in$ile.o!enCn1.dtCiosinr%Miosin+,

  ifin$ile+

  6

  ifr==1MMr==3MMr==MMr==5+

  6

  goto%1$12+,cout<<CFILE D)ES &)( EIS(.')&(A'( JA&S 8K(

LI3I(EDC,

  del%"+,ifr==3+trnsction+,else ifr==+"enu+,else 

searchdisplay+,

  7

 ifr==

2+=

0,

  7

  ifr==1MMr==3MMr==MMr==5+

  Page | 1B

Page 20: Computer science Project on banking System

7/23/2019 Computer science Project on banking System

http://slidepdf.com/reader/full/computer-science-project-on-banking-system 20/43

  6

  goto%2""+,cout<<CE&(ER 9)UR A'')U&( &U34ERC,

  colu"n10+,goto%3311+,cin>>n,

  goto%2""+,cout<<C C,

  et011%%3#22222222222222221!+,

  7

  ifr==2+  n=,

   whilein$ile.redchar *+;Jsi&eofJ++;;==0+

  6

  ifJ.rccno+==n+

  6

  ifr==1MMr==3MMr==MMr==5+

  J.serchindi2idul+,

  =1,

  7

  7

  ifr==1MMr==3MMr==MMr==5+;; ==0+

  6  clero$$%!52220+, goto%2511+,cout<<C Account &u"er does

not eistC,

  goto%3512+,cout<<C8lese tr% ginC,!ress2+,

  ifr==1MMr==5+serchdis!l%+,ifr==3+trnsction+,ifr==+"enu+,

  7

  ifr==1+

  6

  !ress3+,i"!ress+,

  7

  in$ile.close+,

  ifr==2+return ,

  ifr==3MMr==MMr==5+return n,7

void  n1serchindi2idul+

6

  goto%2%!+,cout<<CAccount detilsC,

  goto%31$+,cout<<C&"e C<<n"e,

  goto%31"+,cout<<CAccount &u"erC<<cc,

  goto%31%+,cout<<C(otl A"ount C<<csh,

  goto%3110+,cout<<CAccount (%!e C<<t%!e,

  goto%3111+,cout<<C8hone &u"er C<<tele,

  goto%3112+,cout<<CAddress C<<ddress,7

//-------------------------------------------------------------------------

//**************FU&'(I)& () DIS8LA9 DEFAUL( (E( )& S'REE&****************

//-------------------------------------------------------------------------

void  colu"nint "int h+

6

  if"==1+

  6

  goto%3210+,cout<<CM----------------MC,

  goto%3211+,cout<<CO OC,

  goto%3212+,cout<<CM----------------MC,

  7

  Page | 2

Page 21: Computer science Project on banking System

7/23/2019 Computer science Project on banking System

http://slidepdf.com/reader/full/computer-science-project-on-banking-system 21/43

  if"==2+

  6

  goto%21%+,cout<<CM---------MC,

  goto%220+,

  ifh==1+cout<<CO Acce!t OC,

  else ifh==2+cout<<CO E&(ER OC,

  else ifh==3+cout<<CO DELE(E OC,  else ifh==+cout<<CO L):I& OC,

  else ifh==5+cout<<CO 9es OC,

  goto%221+,cout<<CM---------MC,

  goto%1%+,cout<<CM----------MC,

  goto%20+,

  ifh==1+cout<<CO Decline OC,

  else ifh==2MMh==3+cout<<CO 'A&'EL OC,

  else ifh==+ cout<<CO 'LEAR OC,

  else ifh==5+ cout<<CO &) OC,

  goto%21+,cout<<CM----------MC,

  7

  if"==3+6  goto%!21+,

  cout<<C <> or 6

  7

  or -? or (A4 nd s!ce r or TASD or IJ5L 1e%s to "o2eC,

  7

7

//-------------------------------------------------------------------------

//************** FU&'(I)& () ATAIL L)A& ****************

//-------------------------------------------------------------------------

void  ilon+6

  &screen2+,

  float ninterest"rte,

  goto%2$"+,cout<<CE&(ER (HE 8RI&'I8AL A3)U&(C,

  colu"n12+,goto%3311+,cin>>n,

  goto%23"+,cout<<C C,

  goto%25"+,cout<<CE&(ER (HE ()(AL &U34ER )F 3)&(HSC,

  colu"n12+,goto%3311+,cin>>",

  goto%23"+,cout<<C C,colu"n22+,

  goto%2!"+,cout<<CE&(ER (HE I&(ERES( RA(E+C,

  colu"n12+,goto%3311+,cin>>rte,

  goto%23"+,cout<<C C,  int g=1e%s0+,

  ifg==0+

  6

  et011%%3#22222222222222221!+,clero$$20!0220+,

  interest=n*"/12+*rte/100+,

  goto%2%!+,cout<<CL)A& DE(AILSC,

  goto%31$+,cout<<C8RI&'I8AL A3( C<<C4D C<<n,

  goto%31"+,cout<<CRA(E C<<rte<<CC,

  goto%31%+,cout<<CL)A& 8ERI)D C<<"<<C "onthsC,

  goto%3110+,cout<<C()(AL I&(ERES( C<<C4D C<<interest,

  goto%3111+,cout<<C()(AL A3)U&( C<<C4D C<<n?interest,!ress3+,

  i"!ress+,

  7

  else ifg==1+

  Page | 21

Page 22: Computer science Project on banking System

7/23/2019 Computer science Project on banking System

http://slidepdf.com/reader/full/computer-science-project-on-banking-system 22/43

  6

  serchdis!l%+,

  7

7

//-------------------------------------------------------------------------

//************** FU&'(I)& () DIS8LA9 A'')U&( RE8)R( ****************//-------------------------------------------------------------------------

void  ire!ort+

6

  et011%%3#22222222222222221!+,,

  clrscr+,

  int t=1,

  n1 5,

  i$stre" re!,

  re!.o!enCn1.dtCiosinr%Miosin+,

  ifre!+

  6  goto%1$12+,cout<<CFILE D)ES &)( EIS(.')&(A'( JA&S 8K( LI3I(EDC,

  del%"+,serchdis!l%+,

  7

  cout<<C Re!ortnC,

  cout<<C (otl &u"er o$ 'usto"ers- C<<endl,

 cout<<C=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*

=*=*=*=*=*=*C,

  cout<<CO S/no. O A/c no. O &A3E O (%!e O 4lnce OC,

 cout<<C=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*

=*=*=*=*=*=*C,   whilere!.redchar*+;5si&eof5+++

  6

  5.re!ortt+,

  t??,

  7

  goto%532+,cout<<t-1,

  re!.close+,

  !ress3+,serchdis!l%+,

7

void  n1 re!ortint t+

6

  int l=strlenn"e+,  cout<<CO C<<t<<set@%+<<CO C<<cc<<set@%+<<CO C<<n"e<<set@3-l+<<C O

C<<t%!e<<set@$+<<CO C<<csh<<endl,

 cout<<C********************************************************************

************C,

7

//-------------------------------------------------------------------------

//************** FU&'(I)& () 3)DIF9 A'')U&( 'REDE&(IALS ****************

//-------------------------------------------------------------------------

void  i"odi$%+

6

  Page | 22

Page 23: Computer science Project on banking System

7/23/2019 Computer science Project on banking System

http://slidepdf.com/reader/full/computer-science-project-on-banking-system 23/43

  &screen!+,

  n1 J,

  $stre" in$ile,

  in$ile.o!enCn1.dtCiosinr%MiosinMiosout+,

  int n,

  n=iuserdis!l%05+,colu"n25+,goto%301"+,cout<<CD) 9)U TISH ()

3)DIF9C,  int g=1e%s0+,ifg==1+serchdis!l%+,else ifg==0+

   whilein$ile.redchar*+;Jsi&eofJ+++

  6

  ifJ.rccno+==n+

  6

  J.ddccount2+,

  int !os=-1+*si&eofn1+,

  in$ile.see1!!osioscur+,

  in$ile.@ritechar*+;Jsi&eofn1++,

  7

  7

  in$ile.close+,  loding!+,i"!ress+,serchdis!l%+,

7

int =0,void  login+

6

  &screen$+,

  char un50!ss50ch,int i=0,

  logo151+,colu"n2+,

  goto%2!1+,

  cout<<CUSER&A3EC,

  goto%2!1$+,

  cout<<C8ASST)RDC,  goto%3513+,cout<<CM----------------MC,goto% 351+,cout<<CO OC,

 goto%3515+,cout<<CM----------------MC,goto% 351!+,cout<<CM------------

----MC,

  goto%351$+,cout<<CO OC,goto%351"+,cout<<CM----------------MC,

  goto%3!1+, getsun+,

  do6

  goto%3!1$+,ch=getch+,

  ifch=="+

  6

  ifi==0+6

  goto%3!?i1$+,  7

  else

  6

  !ssi-1=NN,

  goto%35?i1$+,cout<<C C,

  goto%3!?i1$+,i--,

  7

  7

  else ifch=13+

  6

  goto%3!?i1$+,

  !ssi=ch, int =rnd+$,  irndo"0+,

  i??,

  Page | 23

Page 24: Computer science Project on banking System

7/23/2019 Computer science Project on banking System

http://slidepdf.com/reader/full/computer-science-project-on-banking-system 24/43

  7

  else  break,

  7

   whilech=13+,

  goto%221$+,

  !ssi=NN,

  ifstrc"!C0nsuserC!ss+==0;;strc"!CJA&SCun+==0+  ?=1,

  else

  --,

  int g=1e%s0+,ifg==0+2eri$%+,else ifg==1+screen+,

7

void  verify+

6

  if==1+ "enu+,

  else  while<0;;>-3+

  6

  del%$+,clero$$3$$220+,

  goto%1"10+,cout<<CIn2lid Usern"e )R 8ss@ord. 8lese tr%AginnC,

  goto%1"11+,cout<<C 9ou h2e C<<?3<<Ctte"!ts+ le$tC,

  del%$+,

  !ress2+,clrscr+,login+,

  if==1+"enu+,

  else if==-3+

  6

  del%$+,clero$$3$$220+,

  goto%1"10+,cout<<C S)RR9 9)U 'A& &) L)&:ER ')&(I&UEnC,

  del%$+,clrscr+,logo151+,

  eit0+,

  7  7

7

//-------------------------------------------------------------------------

//**************** FU&'(I)&S () DIS8LA9 (HE 3E&U S'REE& *******************

//-------------------------------------------------------------------------

void   menu+

6

  Jscreen1+,

  logo1351+,

  "enuV+,7

void   menu_ +

6

  char A20=6

  N NNONN NN3NNANNINN&NN NN NN NN3NNENN&NNUN

  7

  ,

  fori=30=0,i<00<1,i??0??+

  6

  goto%5i+, del%!+,

  cout<<A0,

  goto%$5i+,

  cout<<A0,

  7

  Page | 24

Page 25: Computer science Project on banking System

7/23/2019 Computer science Project on banking System

http://slidepdf.com/reader/full/computer-science-project-on-banking-system 25/43

  goto%131+,cout<<C 8LEASE SELE'( A& )8(I)& C,

  goto%131!+,cout<<CO (RA&SA'(I)&S O 'REA(E A'')U&(C,

  goto%131"+,cout<<CO SEAR'H ; DIS8LA9 O DELE(E A'')U&(C,

  colu"n30+,goto%1322+,cout<<C 8ress ES' to L):)U( C,1e%sG+,

7

//-------------------------------------------------------------------------

//******* FU&'(I)& THI'H E&A4LES 'URS)R 3)KE3E&( (HR)U:H 5E94)ARD I+******

//-------------------------------------------------------------------------

void  keys1+

6

  int ch!=0,

  if!==0+

  6

  6

  goto%!1"+,cout<<C C,

  goto%121!+,cout<<C>C, logo13512#"+,  7

  ch=getch+,

  ifch==!2MMch==!MMch==%MMch==5MMch==%1+6

  !=1,

  7

  else

  ifch==!0MMch==MMch==32MMch==!1MMch==%3+

  6

  !=3,goto%121!+,cout<<C C,

  7

  7

  if!==1+  6

  6

  goto%121!+,cout<<C C,

  goto%!1!+,cout<<C>C,logo13512#"+,

  7

  ch=getch+,

  ifch==!2MMch==!MMch==%MMch==5MMch==%1+

  6

  !=2,

  7

  else ifch==!0MMch==MMch==32MMch==!1MMch==%3+

  6  !=0,

  goto%!1!+, cout<<C C,

  7

  7

  if!==2+

  6

  6

  goto%!1!+,cout<<C C,

  goto%121"+,cout<<C>C, logo13512#"+,

  7

  ch=getch+,

 ifch==

!2MMch==

!MMch==

%MMch==

5MMch==

%1+

  6

  !=3,

  Page | 2-

Page 26: Computer science Project on banking System

7/23/2019 Computer science Project on banking System

http://slidepdf.com/reader/full/computer-science-project-on-banking-system 26/43

  7

  else

  ifch==!0MMch==MMch==32MMch==!1MMch==%3+

  6

  !=1,

  goto%121"+,cout<<C C,

  7  7

  if!==3+

  6

  6

  goto%121"+,cout<<C C,

  goto%!1"+,cout<<C>C,logo13512#"+,

  7

  ch=getch+,

  ifch==!2MMch==!MMch==%MMch==5MMch==%1+

  6

  !=0,

  7  ifch==!0MMch==MMch==32MMch==!1MMch==%3+

  6

  !=2,

  goto%!1"+,cout<<C C,

  7

  7

  ifch==115MMch=="3MMch==10$MMch==$5+

  6

  if !==0+

  6

  !=2,

  goto%121!+,cout<<C C,  7

  else if!==1+

  6

  !=3,

  goto%!1!+,cout<<C C,

  7

  7

  ifch==!"MMch==100MMch==10"MMch==$!+

  6

  if !==0+

  6

  !=1,  goto%121!+,cout<<C C,

  goto%!1!+,cout<<C>C,

  7

  else if!==2+

  6

  !=3,

  goto%121"+,cout<<C C,

  7

  7

  ifch==%$MMch==!5MMch==10!MMch==$+

  6

 if !==

1+

  6

  !=0,

  Page | 26

Page 27: Computer science Project on banking System

7/23/2019 Computer science Project on banking System

http://slidepdf.com/reader/full/computer-science-project-on-banking-system 27/43

  goto%!1!+,cout<<C C,

  7

  else

  if!==3+

  6

  !=2,

  goto%!1"+,cout<<C C,  7

  7

  ifch=="$MMch==11%MMch==$3MMch==105+

  6

  if !==2+

  6

  !=0,

  goto%121"+,cout<<C C,

  7

  else if!==3+

  6

  !=1,goto%!1"+,cout<<C C,  7

  7

  ifch==13+

  6

  if!==0+trnsction+,

  if!==1+iddccount+,

  if!==2+serchdis!l%+,

  if!==3+ideleteccount+,

  7

  ifch==2$+

  6

  screen+,  7

  ifch+

  goto ,

7

//-------------------------------------------------------------------------

//*************** FU&'(I)& () DIS8LA9 (HE (RA&SA'(I)&S 3E&U **************

//-------------------------------------------------------------------------

void  transaction+

6

  Jscreen0+,  char A20=6

  N NNONN NN(NNRNNANN&NNSNNANN'NN(NNINN)NN&NNSN

  7

  ,

  fori=30=0,i<00<15,i??0??+

  6

  goto%5i+, del%!+,

  cout<<A0,

  goto%$5i+,

  cout<<A0,

  7

  goto%131!+,

  cout<<CO DE8)SI( O TI(HDRATC,

  goto%131"+,

  Page | 27

Page 28: Computer science Project on banking System

7/23/2019 Computer science Project on banking System

http://slidepdf.com/reader/full/computer-science-project-on-banking-system 28/43

  cout<<CO L)A& C,

  colu"n30+,goto%1322+,cout<<C 8ress ES' to L):)U( 8ress 4A'5S8A'E

to go c1C,1e%sB1+,

7

//------------------------------------------------------------------------//***** FU&'(I)& THI'H E&A4LES 'URS)R 3)KE3E&( (HR)U:H 5E94)ARD II+******

//------------------------------------------------------------------------

void  keys2int +

6

  int ch!=0,

  ':if!==0+

  6

  6

  goto%121"+,

  cout<<C C,

  goto%121!+,  cout<<C>C, logo13512#"+,

  7

  ch=getch+,

  if ch==!2MMch==!MMch==%MMch==5MMch==%1+

  6

  !=1,

  7

  else

  ifch==!0MMch==MMch==32MMch==!1MMch==%3+

  6

  !=2,

  goto%121!+,cout<<C C,  7

  7

  if!==1+

  6

  6

  goto%121!+, cout<<C C,

  goto%551!+,cout<<C>C, logo13512#"+,

  7

  ch=getch+,

  if ch==!2MMch==!MMch==%MMch==5MMch==%1+!=2,

  else ifch==!0MMch==MMch==32MMch==!1MMch==%3+

  6  !=0,

  goto%551!+,cout<<C C,

  7

  7

  if!==2+

  6

  6

  goto%551!+,cout<<C C,

  goto%121"+,cout<<C>C,logo13512#"+,

  7

  ch=getch+,

 if ch==

!2MMch==

!MMch==

%MMch==

5MMch==

%1+

  6

  !=0,

  Page | 28

Page 29: Computer science Project on banking System

7/23/2019 Computer science Project on banking System

http://slidepdf.com/reader/full/computer-science-project-on-banking-system 29/43

  goto%55$+,cout<<C C,

  goto%121!+,cout<<C>C,

  7

  else

  ifch==!0MMch==MMch==32MMch==!1MMch==%3+

  6

  !=1,goto%121"+,cout<<C C,  7

  7

  ifch==115MMch=="3MMch==10$MMch==$5+

  6

  if !==0+

  6

  !=2,

  goto%121!+,cout<<C C,

  7

  else

  if!==1+

  6  !=2,

  goto%!1!+,cout<<C C,

  7

  7

  ifch==!"MMch==100MMch==10"MMch==$!+

  6

  if !==0+

  6

  !=1,

  goto%121!+,cout<<C C,

  7

  else  if!==2+

  6

  !=1, goto%121"+, cout<<C C,

  7

  7

  ifch==%$MMch==!5MMch==10!MMch==$+

  if !==1+

  6

  !=0,

  goto%551!+,cout<<C C,

  7

  ifch=="$MMch==11%MMch==$3MMch==10"+  6

  if !==2+

  6

  !=0,

  goto%121"+,cout<<C C,

  7

  7

  ifch==13+

  6

  if==1+

  6

 if!==

0+ide!osit@ithdr@

1+,

  if!==1+ide!osit@ithdr@2+,

  if!==2+ilon+,

  Page | 2B

Page 30: Computer science Project on banking System

7/23/2019 Computer science Project on banking System

http://slidepdf.com/reader/full/computer-science-project-on-banking-system 30/43

  7

  if==2+

  6

  if!==0+iuserdis!l%01+,

  if!==1+ire!ort+,

  if!==2+i"odi$%+,

  7  7

  ifch==2$+6

  screen+,

  7

  ifch=="+6

  clero$$3$"2220+,"enuV+,

  7

  ifch+goto ,

7

//-------------------------------------------------------------------------

//************* FU&'(I)& () DIS8LA9 (HE SEAR'H A&D DIS8LA9 3E&U *********

//-------------------------------------------------------------------------

void  searchdisplay+

6

  Jscreen0+,

  char A20=6

  N NNONN NNSNNENNANNRNN'NNHNN NN;NN

NNDNNINNSNN8NNLNNANN9N  7

  ,

  fori=30=0,i<00<1%,i??0??+

  6

  goto%5i+,del%!+,cout<<A0,

  goto%$5i+,cout<<A0,

  7

  goto%131!+,

  cout<<CO USER DIS8LA9 O RE8)R(C,

  goto%131"+,

  cout<<CO 3)DIF9 C,

  goto%!21+,  colu"n30+,goto%1322+,cout<<C 8ress ES' to L):)U( 8ress 4A'5S8A'E

to go c1C,

  1e%sB2+,

7

//------------------------------------------------------------------------

//************************* FU&'(I)& () DELE(E A& A'')U&( ****************

//------------------------------------------------------------------------

void  ideleteaccount+

6

  int n10,

  &screen1+,

  Page | 3

Page 31: Computer science Project on banking System

7/23/2019 Computer science Project on banking System

http://slidepdf.com/reader/full/computer-science-project-on-banking-system 31/43

  n1 L,

  i$stre" in$ile,

  o$stre" out$ile,

  in$ile.o!enCn1.dtCiosinr%+,

  ifin$ile+

  6

  cout<<CFile does not eistC,  7

  n10=iuserdis!l%0+,

  goto%2%15+,cout<<CARE 9)U SURE 9)U TA&( ()C,

  goto%21!+,cout<<C8er"nentl% delete %our ccountC,colu"n23+,int 

g=1e%s0+,

  ifg==1+

  6

  "enu+,

  7

  else ifg==0+

  6

  out$ile.o!enCte"!.dtCiosinr%+,  in$ile.see1g0ioseg+,

   whilein$ile.redchar*+;Lsi&eofn1+++

  6

  ifL.rccno+=n10+

  6

  out$ile.@ritechar*+;Lsi&eofn1++,

  7

  7

  7

  in$ile.close+,

  out$ile.close+,

  re"o2eCn1.dtC+,  ren"eCte"!.dtCCn1.dtC+,

  loding+,i"!ress+,"enu+,

7

//------------------------------------------------------------------------

//************* FU&'(I)& () DE8)SI( () )R TI(HDRAT FR)3 A& A'')U&( *******

//------------------------------------------------------------------------

void  idepositwithdrawint d+

6  int n,long int "one%,

  ifd==1+&screen3+,

  ifd==2+&screen+,

  n1 :,

  $stre" $ile,

  $ile.o!enCn1.dtCiosinr%MiosinMiosout+,

  n=iuserdis!l%03+,colu"n22+,

  goto%2%15+,cout<<CE&(ER (HE A3)U&(C,

  goto%321!+,cout<<CM----------------MC,

  goto%321$+,cout<<CO OC,

  goto%321"+,cout<<CM----------------MC,

  goto%331$+,cin>>"one%,

  int @=1e%s0+,

  if@==1+

  Page | 31

Page 32: Computer science Project on banking System

7/23/2019 Computer science Project on banking System

http://slidepdf.com/reader/full/computer-science-project-on-banking-system 32/43

  trnsction+,

  if@==0+

   while$ile.redchar*+;:si&eofn1+++

  6

  if:.rccno+==n+

  6

  ifd==1+ :.de!osit"one%+,  ifd==2+

  6

  int l=:.rcsh+-"one%,

  ifl<500;;:.rt%!e+==NSNMMl<1000+;;:.rt%!e+==N'N+

  6

  clero$$%!52220+, goto%2511+,cout<<C 9ou do

not h2e enough lnceC,

  goto%3112+,cout<<C8lese tr% lo@er "ountC,

  !ress2+,ide!osit@ithdr@2+,

  7

  else :.@ithdr@"one%+,

  7  int !os=-1+*si&eofn1+,

  $ile.see1!!osioscur+,

  $ile.@ritechar*+;:si&eofn1++,

  7

  7

  $ile.close+,

  clrscr+,

  ifd==1+loding2+,ifd==2+loding3+,

  i"!ress+,

  trnsction+,

7

void  n1de!ositlong int "one%+6

  csh?="one%,

7

void  n1@ithdr@long int "one%+

6

  csh-="one%,

7

//------------------------------------------------------------------------

//********************** FU&'(I)& () DIS8LA9 (HE 'A8(I)& *****************

//------------------------------------------------------------------------

void  c!tionint int %+

6

  del%$+,

 

goto%?13%?%+,cout<<CTC,del%!+,cout<<ChC,del%!+,cout<<CeC,del%!+,cout<<CrC,del%!+,cout<<CeC,del%!+,cout<<C

C,del%!+,cout<<CtC,del%!+,cout<<ChC,del%!+,cout<<CeC,del%!+,cout<<C

  Page | 32

Page 33: Computer science Project on banking System

7/23/2019 Computer science Project on banking System

http://slidepdf.com/reader/full/computer-science-project-on-banking-system 33/43

C,del%!+,cout<<C@C,del%!+,cout<<CoC,del%!+,cout<<CrC,del%!+,cout<<C

lC,del%!+,cout<<CdC,del%!+,cout<<C

C,del%!+,cout<<CcC,del%!+,cout<<CoC,del%!+,cout<<C"C,del%!+,cout<<C

eC,del%!+,cout<<CsC,del%!+,cout<<C

C,del%!+,cout<<CtC,del%!+,cout<<CoC,del%!+,cout<<C

C,del%!+,cout<<C4C,del%!+,cout<<CC,del%!+,cout<<CnC,del%!+,cout<<C

1C,del%!+,cout<<C C,goto%221"+,7

//------------------------------------------------------------------------

//********************** (HE DELA9 FU&'(I)& *****************

//------------------------------------------------------------------------

void  del%float +

6

  forlong int d=0,d<!o@10+,d??+,

7

//------------------------------------------------------------------------

//***************** FU&'(I)& () DIS8LA9 A RA&D)3 S934)L ******************

//------------------------------------------------------------------------

int irndo"int 2int n+

6

  if2==1+

  6

  n=rnd+$,  7

  ifn==0+cout<<COC,

  ifn==1+cout<<CWC,

  ifn==2+cout<<CXC,

  ifn==3+cout<<CYC,

  ifn==+cout<<CC,

  ifn==5+cout<<CKC,

  ifn==!+cout<<CZC,

7

//-------------------------------------------------------------------------

//******************** FU&'(I)& () DIS8LA9 (HE 4)RDER ******************//-------------------------------------------------------------------------

void  orderBint int %int d int $float @+

6

  int n=rnd+$,int =rnd+5,

   while<=d+

  6

  goto%%+,

  irndo"0+,

  ifd=="0+

  goto%d-$+,

  ifd==$%+

  goto%d-?2$+,

  Page | 33

Page 34: Computer science Project on banking System

7/23/2019 Computer science Project on banking System

http://slidepdf.com/reader/full/computer-science-project-on-banking-system 34/43

  ifd==$"+goto%d-?3$-%?3+,

  irndo"0n+,

  del%@+,

  ??,

  7

  --,

   while%<=$+  6

  goto%%+,

  irndo"0n+,

  ifd=="0+

  goto%d-$-%+,

  ifd==$%+goto%d-?2$-%?2+,

  ifd==$"+goto%d-?3$-%?3+,

  irndo"0+,

  del%@+,

  %??,

  7

  %--,7

//------------------------------------------------------------------------

//**************** FU&'(I)& () DIS8LA9 (HE 4)RDER A&D 4EA(S **************

//------------------------------------------------------------------------

void  Jscreenint h+

6

  ifh==1+et011%%3#22222222222222221!+,clrscr+,

  orderB11"025+,orderB22$%235+,

7

//-------------------------------------------------------------------------

//********** FU&'(I)& () 'LEAR A S8E'IFI' 8)R(I)& )F (HE S'REE& ***********

//-------------------------------------------------------------------------

void  clero$$int iint nint 0int 1float +

6

  for ,i<n,i??+

  for0=2,0<1,0??+//0=B $i

  6  goto%i0+,

  cout<<C C,

  del%+,

  7

7

//------------------------------------------------------------------------

//********************** FU&'(I)& () DIS8LA9 (HE L):) ********************

//------------------------------------------------------------------------

void  logoint int %int no$ti"float del+

6

  Page | 34

Page 35: Computer science Project on banking System

7/23/2019 Computer science Project on banking System

http://slidepdf.com/reader/full/computer-science-project-on-banking-system 35/43

  int $=rnd+$,int =rnd+$,int =rnd+$, int =rnd+$, int 

c=rnd+$,

  int A250=6

 0100123210101252100123!$3210125"%!5

23!$101110"$5"%1011121110%!$1011121110"%1011

1!12111011121!1$1"1$1!1"1$1!1!1$1"2223221"1$1!1!1$

1"2223225223221"1$1"22232252!2$2!22322222322$

2"2%2"223222322%303130225313233322%252!333353

2%2$2%30323333331302"2%3132353!3!33323031333353

323353!353333353!3!353!232233223

32235!5323!$"$5"%50%!

$50515251"%52535051535535253555555

  7

  ,

  int 4250=6

 00121001233320035!530035!$$!3003

$$30013$$321123$$325$$!505!$$!1001313530015!$!52100123!$$3210013

5!510015!$$!1001$$1001$$1001$5100

15$$51015$$55$55!$$!5!$$0012101

233235!5335!$$!33$$33$$33$$

$$55!$$!5!$

  7

  ,

  for int [=0,[<no$ti",[??+

  6

  forint i=0,i<23$,i??+

  6

  goto%?Ai%?4i+,irndo"0$+, del%del+,  7

  for i=23$,i>-1,i--+

  6

  goto%?Ai%?4i+,irndo"0+, del%del+,

  7

  for i=0,i<23$,i??+

  6

  goto%?Ai%?4i+,irndo"0+, del%del+,

  7

  fori=23$,i>-1,i--+

  6

  goto%?Ai%?4i+,irndo"0+, del%del+,  7

  fori=23$,i>-1,i--+

  6

  goto%?Ai%?4i+,cout<<C C, del%del+,

  7

  fori=0,i<23$,i??+

  6

  goto%?Ai%?4i+,irndo"0c+, del%del+,

  7

  6

  int n,

  for i=0,i<1000,i??+  6

  n=rnd+23$,

  Page | 3-

Page 36: Computer science Project on banking System

7/23/2019 Computer science Project on banking System

http://slidepdf.com/reader/full/computer-science-project-on-banking-system 36/43

  goto%?An%?4n+,cout<<C C, del%del-0#5+,

  7

  forint i=0,i<23$,i??+

  6

  goto%?Ai%?4i+,cout<<C C, del%2+,

  7

  7  6

  int n,

  for i=0,i<1000,i??+

  6

  n=rnd+23$,

  goto%?An%?4n+,irndo"0$+, del%del-0#5+,

  7

  for i=0,i<23$,i??+

  6

  goto%?Ai%?4i+,irndo"0c+, del%2+,

  7

  7  7

7

//------------------------------------------------------------------------

//************ FU&'(I)& () DIS8LA9 (HE DELE(E A'')U&( S'REE& *************

//------------------------------------------------------------------------

void  &screenint l+

6

  et011%%3#22222222222222221!+,

  clrscr+,  fori=0,i<3,i??+rro@+,

  orderB11"02#"+,

  ifl==1+

  6

  char A20=6

  NONN NN NN NNDNNENNLNNENN(NNENN NN

NNANN'NN'NN)NNUNN&NN(N

  7

  ,

  fori=20=0,i<210<1%,i??0??+

  6

  if0==1MM0==2MM0==3MM0==%MM0==10MM0==11+  continue,

  goto%$i+, del%!+,

  cout<<A0,

  goto%$5i+,

  cout<<A0,

  7

  7

  ifl==2+

  6

  char A20=6

  NONN NN NN NNLNN NN NN NN)NN NN NN NNANN NN NN

NN&N

  7

  ,

  Page | 36

Page 37: Computer science Project on banking System

7/23/2019 Computer science Project on banking System

http://slidepdf.com/reader/full/computer-science-project-on-banking-system 37/43

  fori=20=0,i<1!0<1$,i??0??+

  6

  if0==1MM0==2MM0==3MM0==$MM0==5MM0==%MM0==10MM0==11+

  continue,

  goto%$i+, del%!+,

  cout<<A0,

  goto%$5i+,  cout<<A0,

  7

  7

  ifl==3+

  6

  char A20=6

  NONN NN NN NNDNN NNENN NN8NN NN)NN NNSNN NNINN

NN(N

  7

  ,

  fori=20=0,i<220<1$,i??0??+

  6  if0==1MM0==3MM0==5MM0==11+

  continue,

  goto%$i+, del%!+,

  cout<<A0,

  goto%$5i+,

  cout<<A0,

  7

  7

  ifl==+

  6

  char A20=6

  NONN NNTNN NNINN NN(NN NNHNN NNDNN NNRNN NNANNNNTN

  7

  ,

  fori=20=0,i<220<1$,i??0??+

  6

  if0==1MM0==3MM0==5MM0==11+

  continue,

  goto%$i+, del%!+,

  cout<<A0,

  goto%$5i+,

  cout<<A0,

  7  7

  ifl==5+

  6

  char A20=6N NN NN NN NNONN NNUNNSNNENNRNN NN

NNDNNINNSNN8NNLNNANN9N 7,

  fori=20=0,i<220<1%,i??0??+

  6

  if0==0MM0==1MM0==3MM0==10MM0==11+

  continue,

  goto%$i+, del%!+,

  cout<<A0,

  goto%$5i+,

  cout<<A0,

  7

  Page | 37

Page 38: Computer science Project on banking System

7/23/2019 Computer science Project on banking System

http://slidepdf.com/reader/full/computer-science-project-on-banking-system 38/43

  7

  ifl==!+

  6

  char A25=6

  NONN NN NN NN3NN NN NN NN)NN NN NN NNDNN NN NN

NNINN NN NN NN9N

  7  ,

  fori=20=0,i<210<21,i??0??+

  6

  if0==1MM0==2MM0==3MM0==$MM0==5MM0==%MM0==10MM0==11MM0==1$MM

0==1"MM0==1%+

  continue,

  goto%!i+, del%!+,

  cout<<A0,

  goto%$5i+,

  cout<<A0,

  7

  7  ifl==$+

  6

  char A20=6

  NONN NN NNLNN NN NN)NN NN NN:NN NN NNINN NN NN&N

  7

  ,

  fori=30=0,i<00<1!,i??0??+

  6

  if0==1MM0==2MM0==MM0==5MM0==$MM0=="MM0==10MM0==11MM0==13MM

0==1+continue,

  goto%$i+, del%!+,

  cout<<A0,  goto%$5i+,

  cout<<A0,

  7

  7

7

void  rro@int n+

6

  int i01,

  fori=0,i<n,i??+

  6

  for0=0,0<i,0??+

  6  cout<<C C,

  7

  for1=0,1<i,1??+

  6

  cout<<C*C,

  7

  cout<<endl,

  7

  fori=0,i<n,i??+

  6

  for0=0,0<n-i,0??+

  6

  cout<<C C,

  7

  Page | 38

Page 39: Computer science Project on banking System

7/23/2019 Computer science Project on banking System

http://slidepdf.com/reader/full/computer-science-project-on-banking-system 39/43

  for1=0,1<n-i,1??+

  6

  cout<<C*C,

  7

  cout<<endl,

  7

7

//-----------------------------------------------------------------------

//************ FU&'(I)& () DIS8LA9 (HE L)ADI&: S'REE& ************

//-----------------------------------------------------------------------

void  lodingint h+

6

  Jscreen0+,

  goto%1$1"+,

  cout<<C ----------------------------------C,

  goto%1$20+,  cout<<C ----------------------------------C,

  goto%1$1%+,

  cout<<C MM MMC,

  int t,for0=23t=0,0<5$ ,0??t??+

  6

  ift==%$+continue,

  logo12513+,

  goto%3!%+,cout<<C C,

  goto%31%+,

  ifh==1+ cout<<CLoding C<<??t<<CC,

  else ifh==2+cout<<CDe!ositing C<<??t<<CC,

  else ifh==3+cout<<CTithdr@ingC<<??t<<CC,  else ifh==+cout<<CDeleting C<<??t<<CC,

  else ifh==5+cout<<C'reting C<<??t<<CC,

  else ifh==!+cout<<C3odi$%ing C<<??t<<CC,t??,

  goto%01%+,cout<<COC,

  7

  del%+,

7

void  !ressint l+

6

  del%$+,

  goto%%21+,

  ifl==1+cout<<C8ress n% 1e% $or Ser2icesC,  ifl==2+cout<<C8ress n% 1e% to retr%C,

  ifl==3+cout<<C8ress n% 1e% to go c1C,

  getch+,

7

//------------------------------------------------------------------------

//****************** FU&'(I)& () DRAT A S8IRAL 4)RDER ********************

//------------------------------------------------------------------------

void  orderint no$tfloat +

6

  int i0=0="0c=0d=1,

  Page | 3B

Page 40: Computer science Project on banking System

7/23/2019 Computer science Project on banking System

http://slidepdf.com/reader/full/computer-science-project-on-banking-system 40/43

  int G=$%B=$%=0G="0B=-1=1cG=1cB=2c=23dG=2dB=25d=0,

  forint n=0,n<no$t,n??+

  6

  fori=,i<,i??+

  for0=c,0<d,0??+

  6  goto%i0+,cout<<COC,

  del%+,

  7

  ??,--,c??,d??,

  fori=G,i<G,i??+

  for0=cG,0<dG,0??+

  6

  goto%i0+,cout<<C*C,

  del%+,

  7

  G--,G--,cG??,dG--,

  fori=B,i>B,i--+  for0=cB,0<dB,0??+

  6

  goto%i0+,cout<<C*C,

  del%+,

  7

  B--,B??,cB--,dB--,

  fori=,i<,i??+

  for0=c,0>d,0--+

  6

  goto%i0+,cout<<COC,

  del%+,

  7  ??,??,c--,d??,

  7

7

//------------------------------------------------------------------------

//********************** FU&'(I)& () DIS8LA9 4EA(S ***********************

//------------------------------------------------------------------------

void  etint int %int si[efloat del%Gint no$ets+

6  int i01,

  forint !=1,!<no$ets?1,!??+

  6

  for1=0,1<si[e,1??+

  6

  for i=0,i<100,i??+

  for 0=0,0<100,0??+

  6

  ifi-+*i-+?0-%+*0-%+==1+

  6

  goto%i0+,cout<<C*C, del%del%G+,

  7

  7

  7

  Page | 4

Page 41: Computer science Project on banking System

7/23/2019 Computer science Project on banking System

http://slidepdf.com/reader/full/computer-science-project-on-banking-system 41/43

  for1=si[e,1>-1,1--+

  6

  fori=0,i<100,i??+

  for0=0,0<100,0??+

  6

  ifi-+*i-+?0-%+*0-%+==1+

  6  goto%i0+,cout<<C C, del%del%G+,

  7

  7

  7

  if!2==0+

  6

  del%!#5+,

  7

  7

7

//------------------------------------------------------------------------

//********************* FU&'(I)& () 'ALL (HE 3E&U FU&'(I)& ****************

//-------------------------------------------------------------------------

void  screen+

6

  et011%%3#22222222222222221!+,order123#5+,

  et011%%3#22222222222222221!+,clrscr+,

  et011%%3#22222222222222221!+,

  orderB11"02#5+,

  orderB22$%23#5+,

  orderB33$"22#5+,  logo1251+,

  c!tion12%+,

  !ress1+,

  loding1+,

  login+,

  "enu+,//re"o2e

7

void  "in+

6

  screen+,

J

  Page | 41

Page 42: Computer science Project on banking System

7/23/2019 Computer science Project on banking System

http://slidepdf.com/reader/full/computer-science-project-on-banking-system 42/43

Screenshots

  Page | 42

Page 43: Computer science Project on banking System

7/23/2019 Computer science Project on banking System

http://slidepdf.com/reader/full/computer-science-project-on-banking-system 43/43