SlideShare a Scribd company logo
Computer science project
Computer science project
#include<iostream.h>
#include<conio.h>
void main()
{
clrscr();
char name[50][50]= {"NIVEDITA","SHWETA","MEGHA","AKIDA","ANUPRIYA","GARIMA",
"POOJA","TAMANNA","SANJANA","MALLIKA","ANSHIKA","VRIDHI","MOHINI","UTKARSH",
"RITHWIK","HEMANT","KHALID","ALOK","ANAND","PRATEEK"};
int accNo[50]={1111,2222,3333,4444,5555,6666,7777,8888,9999,1122,1133,1144,
1155,1166,1177,1188,1199,1110,1120,1130};
int pinNo[50]={0001,0002,0003,0004,0005,0006,0007,0222,0333,0010,0011,
0012,0013,0014,0015,0016,0017,0444,0555 ,0020};
int balance[50]={ 10000,10500,11000,11500,12000,
12500,13000,13500,14000,15000,16000,17000,18000,19000,20000
,21000,22000,23000,24000,25000};
char branchName[50][50]={"KASIA","TAMKUHI","PADRAUNA","DEORIA"
,"GORAKHPUR","KHALILABAD","FAIZABAD","BASTI","AYODHYA","UNAAV"
,"KAKADEO","BANARAS","INDRANAGAR","ANAND
","BITHOOR","GURGAON",
"YASHODA
NAGAR","KESHAVPURA","HETIMPURA","GWALIOR" };
int i,accNumber,PinNumber;
int accountNoFound=0;
int y,option,withdrawAmt,TransferAmt,DepositAmt;
int NewAccountfound =0,repeatAgain=1;
cout<<"Welcome to ICICI BANK n";
cout<<"Enter Account no. n ";
cin>>accNumber;
for (i=0;i<50;i++)
{
if (accNumber==accNo[i])
{
accountNoFound=1;
cout <<"Hi n" <<name[i];
cout<<"n Enter your Pin no.n";
cin>>PinNumber;
if(PinNumber == pinNo[i])
{
cout<<"n Your current balance isn"<<balance[i];
cout<<"n your account no. is n "<<accNo[i]<<"n branch name is n
"<<branchName[i];
while(repeatAgain > 0)
{
cout<<"nTo withdraw type 1" "";
cout<<"nTo deposit type 2" "";
cout<<"nTo transfer type 3 n" " ";
cin>> option;
switch(option)
{
case 1: cout <<"nEnter amount to
withdraw";
cin>>withdrawAmt;
balance[i]=balance[i]-withdrawAmt;
cout<<"nPlease collect your cash....Your
new
balance is"<<balance[i];
break;
case 2 : cout<<"nEnter amount to deposit";
cin>>DepositAmt;
cout<<"nCongratulations !! Your account
has
been creditedn";
cout<<"your current balance is now = ";
balance[i]=balance[i]+DepositAmt;
cout<<balance[i];
break;
case 3 : cout<<"nEnter the amount to be
transfered";
cin>>TransferAmt;
cout<<"nEnter the account to which the
amount
has to be transfered";
cin>>accNumber;
for (y=0;y<20;y++)
{
if (accNumber==accNo[y])
{
NewAccountfound=1;
balance[i]=balance[i]-TransferAmt;
balance[y]=balance[y]+TransferAmt;
cout<<"n Amount of
Rsn"<<TransferAmt<<"has been transferred to account number"<<accNo[y]<<endl;
cout<<"n New Balance="<<balance[i];
break;
}
}
if (NewAccountfound==0)
{
cout<<"nThe Account number you
have entered is incorrectn";
cout<<"n"<<".nPlease check the no. you
have enteredn";
break;
}
break;
default: cout<<"The option you have entered is wrong!!!";
break;
}
cout<<"n Do you want to make another transaction if yes press 1
else press 0";
cin>>repeatAgain;
}
}
break;
}
else
{
cout<<"n Incorrect pin";
break;
}
}
}
if (accountNoFound ==0)
{
cout<<"nsorry the account no. you have entered is incorrectn";
}
cout<<"nThankyou for using ICICI Bank n";
getch();
}
OUTPUTOUTPUT
Computer science project
Computer science project
Computer science project
Computer science project
Computer science project
Computer science project

More Related Content

PDF
CS50 Lecture2
PDF
CS50 Lecture1
PDF
Pattern matching in Elixir by example - Alexander Khokhlov
DOCX
Ping pong game
PDF
Gabriele Lana - The Magic of Elixir
PDF
PRESENTACIÓ CURS 2010-2011
DOCX
A simple snake game project
DOCX
Coding part
CS50 Lecture2
CS50 Lecture1
Pattern matching in Elixir by example - Alexander Khokhlov
Ping pong game
Gabriele Lana - The Magic of Elixir
PRESENTACIÓ CURS 2010-2011
A simple snake game project
Coding part

Similar to Computer science project (20)

PDF
main.cpp #include iostream #include iomanip #include fs.pdf
DOC
Computer mai ns project
DOC
Computer mai ns project
PPTX
C programming
PDF
C++ coding for Banking System program
PDF
BANK MANAGEMENT INVESTIGATORY PROJECT CLASS 12TH
PDF
#include iostream #include BankAccountClass.cpp #include .pdf
DOCX
Write a banking program that simulates the operation of your local ba.docx
DOCX
Cbsecomputersciencecclass12boardproject bankmanagmentsystem-180703065625-conv...
DOC
Cbse class-xii-computer-science-project
DOC
Cbse class-xii-computer-science-projec
PPTX
Bank Management System
PDF
This what Im suppose to do and this is what I have so far.In thi.pdf
PDF
Banks offer various types of accounts, such as savings, checking, cer.pdf
PDF
Bank Program in JavaBelow is my code(havent finished, but it be .pdf
PDF
Cbse computer science (c++) class 12 board project bank managment system
PDF
Account.h Definition of Account class. #ifndef ACCOUNT_H #d.pdf
PDF
I need help creating a basic and simple Java program. Here is the ex.pdf
PDF
C++ Bank Account Error Fix, full code. I am using Dev-C++ to Compile.pdf
PDF
Banks offer various types of accounts, such as savings, checking, cer.pdf
main.cpp #include iostream #include iomanip #include fs.pdf
Computer mai ns project
Computer mai ns project
C programming
C++ coding for Banking System program
BANK MANAGEMENT INVESTIGATORY PROJECT CLASS 12TH
#include iostream #include BankAccountClass.cpp #include .pdf
Write a banking program that simulates the operation of your local ba.docx
Cbsecomputersciencecclass12boardproject bankmanagmentsystem-180703065625-conv...
Cbse class-xii-computer-science-project
Cbse class-xii-computer-science-projec
Bank Management System
This what Im suppose to do and this is what I have so far.In thi.pdf
Banks offer various types of accounts, such as savings, checking, cer.pdf
Bank Program in JavaBelow is my code(havent finished, but it be .pdf
Cbse computer science (c++) class 12 board project bank managment system
Account.h Definition of Account class. #ifndef ACCOUNT_H #d.pdf
I need help creating a basic and simple Java program. Here is the ex.pdf
C++ Bank Account Error Fix, full code. I am using Dev-C++ to Compile.pdf
Banks offer various types of accounts, such as savings, checking, cer.pdf
Ad

Recently uploaded (20)

PPTX
Lesson notes of climatology university.
PPTX
Cell Structure & Organelles in detailed.
PPTX
Orientation - ARALprogram of Deped to the Parents.pptx
PPTX
Introduction-to-Literarature-and-Literary-Studies-week-Prelim-coverage.pptx
PPTX
Final Presentation General Medicine 03-08-2024.pptx
PPTX
school management -TNTEU- B.Ed., Semester II Unit 1.pptx
PDF
Weekly quiz Compilation Jan -July 25.pdf
PDF
Chinmaya Tiranga quiz Grand Finale.pdf
PDF
Practical Manual AGRO-233 Principles and Practices of Natural Farming
PPTX
UV-Visible spectroscopy..pptx UV-Visible Spectroscopy – Electronic Transition...
PDF
LNK 2025 (2).pdf MWEHEHEHEHEHEHEHEHEHEHE
PPTX
Cell Types and Its function , kingdom of life
PDF
Black Hat USA 2025 - Micro ICS Summit - ICS/OT Threat Landscape
PPTX
Microbial diseases, their pathogenesis and prophylaxis
PDF
Paper A Mock Exam 9_ Attempt review.pdf.
PDF
Chapter 2 Heredity, Prenatal Development, and Birth.pdf
PPTX
1st Inaugural Professorial Lecture held on 19th February 2020 (Governance and...
PPTX
History, Philosophy and sociology of education (1).pptx
PPTX
202450812 BayCHI UCSC-SV 20250812 v17.pptx
PPTX
Tissue processing ( HISTOPATHOLOGICAL TECHNIQUE
Lesson notes of climatology university.
Cell Structure & Organelles in detailed.
Orientation - ARALprogram of Deped to the Parents.pptx
Introduction-to-Literarature-and-Literary-Studies-week-Prelim-coverage.pptx
Final Presentation General Medicine 03-08-2024.pptx
school management -TNTEU- B.Ed., Semester II Unit 1.pptx
Weekly quiz Compilation Jan -July 25.pdf
Chinmaya Tiranga quiz Grand Finale.pdf
Practical Manual AGRO-233 Principles and Practices of Natural Farming
UV-Visible spectroscopy..pptx UV-Visible Spectroscopy – Electronic Transition...
LNK 2025 (2).pdf MWEHEHEHEHEHEHEHEHEHEHE
Cell Types and Its function , kingdom of life
Black Hat USA 2025 - Micro ICS Summit - ICS/OT Threat Landscape
Microbial diseases, their pathogenesis and prophylaxis
Paper A Mock Exam 9_ Attempt review.pdf.
Chapter 2 Heredity, Prenatal Development, and Birth.pdf
1st Inaugural Professorial Lecture held on 19th February 2020 (Governance and...
History, Philosophy and sociology of education (1).pptx
202450812 BayCHI UCSC-SV 20250812 v17.pptx
Tissue processing ( HISTOPATHOLOGICAL TECHNIQUE
Ad

Computer science project

  • 3. #include<iostream.h> #include<conio.h> void main() { clrscr(); char name[50][50]= {"NIVEDITA","SHWETA","MEGHA","AKIDA","ANUPRIYA","GARIMA", "POOJA","TAMANNA","SANJANA","MALLIKA","ANSHIKA","VRIDHI","MOHINI","UTKARSH", "RITHWIK","HEMANT","KHALID","ALOK","ANAND","PRATEEK"}; int accNo[50]={1111,2222,3333,4444,5555,6666,7777,8888,9999,1122,1133,1144, 1155,1166,1177,1188,1199,1110,1120,1130}; int pinNo[50]={0001,0002,0003,0004,0005,0006,0007,0222,0333,0010,0011, 0012,0013,0014,0015,0016,0017,0444,0555 ,0020}; int balance[50]={ 10000,10500,11000,11500,12000, 12500,13000,13500,14000,15000,16000,17000,18000,19000,20000 ,21000,22000,23000,24000,25000}; char branchName[50][50]={"KASIA","TAMKUHI","PADRAUNA","DEORIA" ,"GORAKHPUR","KHALILABAD","FAIZABAD","BASTI","AYODHYA","UNAAV" ,"KAKADEO","BANARAS","INDRANAGAR","ANAND ","BITHOOR","GURGAON", "YASHODA NAGAR","KESHAVPURA","HETIMPURA","GWALIOR" }; int i,accNumber,PinNumber;
  • 4. int accountNoFound=0; int y,option,withdrawAmt,TransferAmt,DepositAmt; int NewAccountfound =0,repeatAgain=1; cout<<"Welcome to ICICI BANK n"; cout<<"Enter Account no. n "; cin>>accNumber; for (i=0;i<50;i++) { if (accNumber==accNo[i]) { accountNoFound=1; cout <<"Hi n" <<name[i]; cout<<"n Enter your Pin no.n"; cin>>PinNumber; if(PinNumber == pinNo[i]) { cout<<"n Your current balance isn"<<balance[i]; cout<<"n your account no. is n "<<accNo[i]<<"n branch name is n "<<branchName[i]; while(repeatAgain > 0) { cout<<"nTo withdraw type 1" ""; cout<<"nTo deposit type 2" ""; cout<<"nTo transfer type 3 n" " "; cin>> option;
  • 5. switch(option) { case 1: cout <<"nEnter amount to withdraw"; cin>>withdrawAmt; balance[i]=balance[i]-withdrawAmt; cout<<"nPlease collect your cash....Your new balance is"<<balance[i]; break; case 2 : cout<<"nEnter amount to deposit"; cin>>DepositAmt; cout<<"nCongratulations !! Your account has been creditedn"; cout<<"your current balance is now = "; balance[i]=balance[i]+DepositAmt; cout<<balance[i]; break; case 3 : cout<<"nEnter the amount to be transfered"; cin>>TransferAmt; cout<<"nEnter the account to which the amount has to be transfered"; cin>>accNumber;
  • 6. for (y=0;y<20;y++) { if (accNumber==accNo[y]) { NewAccountfound=1; balance[i]=balance[i]-TransferAmt; balance[y]=balance[y]+TransferAmt; cout<<"n Amount of Rsn"<<TransferAmt<<"has been transferred to account number"<<accNo[y]<<endl; cout<<"n New Balance="<<balance[i]; break; } } if (NewAccountfound==0) { cout<<"nThe Account number you have entered is incorrectn"; cout<<"n"<<".nPlease check the no. you have enteredn"; break; } break; default: cout<<"The option you have entered is wrong!!!"; break; } cout<<"n Do you want to make another transaction if yes press 1 else press 0"; cin>>repeatAgain; }
  • 7. } break; } else { cout<<"n Incorrect pin"; break; } } } if (accountNoFound ==0) { cout<<"nsorry the account no. you have entered is incorrectn"; } cout<<"nThankyou for using ICICI Bank n"; getch(); }