SlideShare a Scribd company logo
#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

Recently uploaded

ppt your views.ppt your views of your college in your eyes
ppt your views.ppt your views of your college in your eyesppt your views.ppt your views of your college in your eyes
ppt your views.ppt your views of your college in your eyes
ashishpaul799
 

Recently uploaded (20)

Basic Civil Engg Notes_Chapter-6_Environment Pollution & Engineering
Basic Civil Engg Notes_Chapter-6_Environment Pollution & EngineeringBasic Civil Engg Notes_Chapter-6_Environment Pollution & Engineering
Basic Civil Engg Notes_Chapter-6_Environment Pollution & Engineering
 
Basic phrases for greeting and assisting costumers
Basic phrases for greeting and assisting costumersBasic phrases for greeting and assisting costumers
Basic phrases for greeting and assisting costumers
 
ppt your views.ppt your views of your college in your eyes
ppt your views.ppt your views of your college in your eyesppt your views.ppt your views of your college in your eyes
ppt your views.ppt your views of your college in your eyes
 
NCERT Solutions Power Sharing Class 10 Notes pdf
NCERT Solutions Power Sharing Class 10 Notes pdfNCERT Solutions Power Sharing Class 10 Notes pdf
NCERT Solutions Power Sharing Class 10 Notes pdf
 
How to Create Map Views in the Odoo 17 ERP
How to Create Map Views in the Odoo 17 ERPHow to Create Map Views in the Odoo 17 ERP
How to Create Map Views in the Odoo 17 ERP
 
Sha'Carri Richardson Presentation 202345
Sha'Carri Richardson Presentation 202345Sha'Carri Richardson Presentation 202345
Sha'Carri Richardson Presentation 202345
 
Advances in production technology of Grapes.pdf
Advances in production technology of Grapes.pdfAdvances in production technology of Grapes.pdf
Advances in production technology of Grapes.pdf
 
PART A. Introduction to Costumer Service
PART A. Introduction to Costumer ServicePART A. Introduction to Costumer Service
PART A. Introduction to Costumer Service
 
Open Educational Resources Primer PowerPoint
Open Educational Resources Primer PowerPointOpen Educational Resources Primer PowerPoint
Open Educational Resources Primer PowerPoint
 
50 ĐỀ LUYỆN THI IOE LỚP 9 - NĂM HỌC 2022-2023 (CÓ LINK HÌNH, FILE AUDIO VÀ ĐÁ...
50 ĐỀ LUYỆN THI IOE LỚP 9 - NĂM HỌC 2022-2023 (CÓ LINK HÌNH, FILE AUDIO VÀ ĐÁ...50 ĐỀ LUYỆN THI IOE LỚP 9 - NĂM HỌC 2022-2023 (CÓ LINK HÌNH, FILE AUDIO VÀ ĐÁ...
50 ĐỀ LUYỆN THI IOE LỚP 9 - NĂM HỌC 2022-2023 (CÓ LINK HÌNH, FILE AUDIO VÀ ĐÁ...
 
An Overview of the Odoo 17 Discuss App.pptx
An Overview of the Odoo 17 Discuss App.pptxAn Overview of the Odoo 17 Discuss App.pptx
An Overview of the Odoo 17 Discuss App.pptx
 
Benefits and Challenges of Using Open Educational Resources
Benefits and Challenges of Using Open Educational ResourcesBenefits and Challenges of Using Open Educational Resources
Benefits and Challenges of Using Open Educational Resources
 
Telling Your Story_ Simple Steps to Build Your Nonprofit's Brand Webinar.pdf
Telling Your Story_ Simple Steps to Build Your Nonprofit's Brand Webinar.pdfTelling Your Story_ Simple Steps to Build Your Nonprofit's Brand Webinar.pdf
Telling Your Story_ Simple Steps to Build Your Nonprofit's Brand Webinar.pdf
 
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
 
How to Break the cycle of negative Thoughts
How to Break the cycle of negative ThoughtsHow to Break the cycle of negative Thoughts
How to Break the cycle of negative Thoughts
 
Incoming and Outgoing Shipments in 2 STEPS Using Odoo 17
Incoming and Outgoing Shipments in 2 STEPS Using Odoo 17Incoming and Outgoing Shipments in 2 STEPS Using Odoo 17
Incoming and Outgoing Shipments in 2 STEPS Using Odoo 17
 
INU_CAPSTONEDESIGN_비밀번호486_업로드용 발표자료.pdf
INU_CAPSTONEDESIGN_비밀번호486_업로드용 발표자료.pdfINU_CAPSTONEDESIGN_비밀번호486_업로드용 발표자료.pdf
INU_CAPSTONEDESIGN_비밀번호486_업로드용 발표자료.pdf
 
Instructions for Submissions thorugh G- Classroom.pptx
Instructions for Submissions thorugh G- Classroom.pptxInstructions for Submissions thorugh G- Classroom.pptx
Instructions for Submissions thorugh G- Classroom.pptx
 
Matatag-Curriculum and the 21st Century Skills Presentation.pptx
Matatag-Curriculum and the 21st Century Skills Presentation.pptxMatatag-Curriculum and the 21st Century Skills Presentation.pptx
Matatag-Curriculum and the 21st Century Skills Presentation.pptx
 
Danh sách HSG Bộ môn cấp trường - Cấp THPT.pdf
Danh sách HSG Bộ môn cấp trường - Cấp THPT.pdfDanh sách HSG Bộ môn cấp trường - Cấp THPT.pdf
Danh sách HSG Bộ môn cấp trường - Cấp THPT.pdf
 

Featured

How Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthHow Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental Health
ThinkNow
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie Insights
Kurio // The Social Media Age(ncy)
 

Featured (20)

2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by Hubspot2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by Hubspot
 
Everything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPTEverything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPT
 
Product Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage EngineeringsProduct Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage Engineerings
 
How Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthHow Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental Health
 
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdfAI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
 
Skeleton Culture Code
Skeleton Culture CodeSkeleton Culture Code
Skeleton Culture Code
 
PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024
 
Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)
 
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie Insights
 
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024
 
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary
 
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd
 
Getting into the tech field. what next
Getting into the tech field. what next Getting into the tech field. what next
Getting into the tech field. what next
 
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentGoogle's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search Intent
 
How to have difficult conversations
How to have difficult conversations How to have difficult conversations
How to have difficult conversations
 
Introduction to Data Science
Introduction to Data ScienceIntroduction to Data Science
Introduction to Data Science
 
Time Management & Productivity - Best Practices
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best Practices
 
The six step guide to practical project management
The six step guide to practical project managementThe six step guide to practical project management
The six step guide to practical project management
 
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
 

Computer science project

  • 1.
  • 2.
  • 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(); }