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;
}