This is to certify that the project entitled Kon Banega Crorepati Quiz (KBC) is prepared under my guidance and supervision by NAME:-SUMIT SATYAM ROLL NUMBER:7075088 CLASS:XII B
SUBJECT: COMPUTER SCIENCE SESSION:2014 - 2015. SUBMITTED TO :- MR. PARTH SIGNATURE:- …………..
1
Acknowledgment I extend my deep sense of gratitude and sincere thanks to our subject teacher Mr. PARTH for his valuable support and guidance in carrying my project work . I also express my gratitude to all the faculty members, parents and my fellow mates who have helped me to carry out this work. Last but not the least, I thank my almighty God for His blessing showed on me during this period .
Sumit Satyam
2
CODING OF PROGRAM #include #include #include #include int flag=0,top=0; void main(void) { clrscr(); int ans1,ans2,ans3,ans4,ans5,ans6,ans7,ans8,ans9,ans10,ans11,ans12,ans13,ans14,a ns15,p,S,l,w,c,x,y,J,O,U,k; char n[30],P[30],q,opt,b[10]; cout<<"
KAUN BANEGA CROREPATI\a\a\a\a\a\a\a";
cout<<"\n
*********************";
textbackground(BLACK); textcolor(CYAN); clrscr(); textcolor(WHITE+BLINK); cprintf("
WELCOME TO KAUN BANEGA CROREPATI ");
textcolor(BROWN); cprintf("\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\ b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\n *--*--*--*--*--*--*--*--*--*-*--* "); textcolor(MAGENTA); cprintf("\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\ 3
b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\ \n\n BEFORE PLAYING KBC");
WE WANT SOME INFORMATION ABOUT YOU
cout<<"\n\n\a NAME : "; gets(n); cout<<"\n\n\a PLACE(STATE) : "; gets(P); cout<<"\n\n\a MALE(1)\FEMALE(2) : "; cin>>S; textcolor(GREEN); textbackground(BLACK); clrscr(); textcolor(WHITE+BLINK); cprintf("
WELCOME TO KAUN BANEGA CROREPATI ");
textcolor(BROWN); cprintf("\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\ b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\n *--*--*--*--*--*--*--*--*--*-*--* "); if (S==1) cout<<"\n\n\n AAJ HAMARE SAMNE EK NAYE KHILADI MOAJUD HAIN\n JINKA NAAM \""<
cprintf("\n\b\b\b\b\b\b\b\b\b(Q) WHICH OF THE FOLLOWING THING CONTAINS 200 V (VOLT) ? "); cout<<"\n YOUR OPTIONS ARE :\n\a"; textcolor(MAGENTA); cprintf("\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\ b\b\b\b\b\b\b\b (1) TAPE RECORDER\n"); cprintf("\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\ b\b\b\b\b\b\b\b (2) TORCH BATTERIE\n"); cprintf("\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\ b\b\b\b\b\b\b\b (3) ELECTIC BULB\n"); cprintf("\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\ b\b\b\b\b\b\b\b (4) CAR BATTERIE\n"); textcolor(CYAN); cout<<"\n\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\ b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b AAPKE PASS ABHI DO LIFE LINE MAUJUD HAIN\n AGAR AAPKO APNE UTTAR PAR BHAROSA NAHI\n HAI TO AAP EESE USE KAR SAKTEIN HAIN : "; cout<<"\n IF YOU WANT TO USE IT PRESS \"Y\" ELSE \"N\""; cin>>q; if (q=='y'||q=='Y') { cout<<"\n AAPKE DO LIFE LINE HAIN:"; cout<<" (1) COMPUTER ASK"; cout<<" (2) FIFTY-FIFTY"; cout<<"\n PRESS (1) OR (2) : "; cin>>l; if (l==1)
5
{ cout<<"\n WRITE ANSWER IS : ELECTRIC BULB "; top++; } if (l==2) { cout<<"\n FIFTY-FIFTY : CAR BATTERIE/ELECTRIC BULB "; flag++; } cout<<"\n GIVE ANSWER : "; } else cprintf("\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\ b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\n PRESS THE CORRECT BUTTON OF YOUR KEYBOARD FOR Rs. 1,000 : "); cin>>ans1; switch(ans1) { case 1 : cout<<" YOU ARE WRONG,aap jaa sakte hain"; break; case 2 : cout<<" YOU ARE WRONG,aap jaa sakte hain"; break; case 3 : delay(50); cout<<" YOU ARE RIGHT\a"; break; case 4 : cout<<" YOU ARE WRONG,aap jaa sakte hain"; break; } 6
if(ans1==3) { textcolor(GREEN); clrscr(); textcolor(WHITE + BLINK); cprintf("
WELCOME TO KAUN BANEGA CROREPATI ");
textcolor(BROWN); cprintf("\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\ b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\n *--*--*--*--*--*--*--*--*--*-*--* "); cout<<"\n\n\n cout<<"\n
CONGRATULATION YOU HAVE WON Rs. 1000";
NOW COME TO THE NEXT QUESTION\n";
cout<<" QUESTION NO. 2\n"; textcolor(YELLOW); cprintf("
(Q) WHO WAS THE SEVENTH PRIME MINISTER OF INDIA ? ");
cout<<"\n YOUR OPTIONS ARE :\n\a"; textcolor(MAGENTA); cprintf("\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b INDIRA GANDHI\n");
(1)
cprintf("\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b RAJIB GANDHI\n");
(2)
cprintf("\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b V.P.SINGH\n");
(3)
cprintf("\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b CHANDRA SHEKHAR\n");
(4)
textcolor(CYAN); cout<<"\n\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\ b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b AAPKE PASS 7
ABHI DO LIFE LINE MAUJUD HAIN\n AGAR AAPKO APNE UTTAR PAR BHAROSA NAHI\n HAI TO AAP EESE USE KAR SAKTEIN HAIN : "; cout<<"\n IF YOU WANT TO USE IT PRESS \"Y\" ELSE \"N\""; cin>>q; if (q=='y'||q=='Y') { if(flag==0&&top==0) { cout<<"\n AAPKE LIFE LINE HAIN:"; cout<<" (1) COMPUTER ASK"; cout<<" (2) FIFTY-FIFTY"; cout<<"\n PRESS (1) OR (2) : "; cin>>l; if (l==1) { cout<<"\n WRITE ANSWER IS : RAJIB GANDHI "; top++; } if (l==2) { cout<<"\n FIFTY-FIFTY : INDIRA GANDHI/RAJIB GANDHI"; } } else if(top>1) { cout<<"\n\nyou have only one lifeline left i.e. computer ask";
8
cout<<"\ndo you want to use it"; cin>>opt; if(opt=='y'||opt=='Y') { cout<<"\n RIGHT ANSWER IS RAJIB GANDHI"; } } else if(flag==1) { cout<<"\n\nyou have only one lifeline left i.e. fifty fifty"; cout<<"\ndo you want to use it"; cin>>opt; if(opt=='y'||opt=='Y') { cout<<"\n INDIRA GANDHI/RAJIB GANDHI";; } cout<<"\n GIVE ANSWER : "; } else cprintf("\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\ b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\n PRESS THE CORRECT BUTTON OF YOUR KEYBOARD FOR Rs. 2,000 : "); cin>>ans2; switch(ans2) { case 1 : cout<<" YOU ARE WRONG,aap jaa sakte hain"; break; 9
case 2 : cout<<" YOU ARE RIGHT \a"; break; case 3 : cout<<" YOU ARE WRONG,aap jaa sakte hain"; break; case 4 : cout<<" YOU ARE WRONG,aap jaa sakte hain"; break; } cout<<"\n WE ARE GIVING MANY MANY CONGRATULATION TO YOU\n FOR WINNING RS. 1000\n GOVERNMENT WILL CUT 100% TAX\n SO, SORRY WE CAN'T GIVE YOU ANY MONEY"; } if(ans2==2) { textcolor(GREEN); clrscr(); textcolor(WHITE + BLINK); cprintf("
WELCOME TO KAUN BANEGA CROREPATI ");
textcolor(BROWN); cprintf("\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\ b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\n *--*--*--*--*--*--*--*--*--*-*--* "); cout<<"\n\n\n HAJAR RUPAY"; cout<<"\n
AAPKA JAWAB BILKUL SAHI\n
AAP JEET CHUKE HAIN DO
AGLA SAWAL AAPKE COMPUTER SCREEN PE YEH RAHA\n";
cout<<" QUESTION NO. 3\n"; textcolor(YELLOW); cprintf("
(Q) WHO WON THE THIRD CRICKET WORLD CUP ? ");
cout<<"\n AAPKA OPTION YEH RAHA :\n\a";
10
textcolor(MAGENTA); cprintf("\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b
(1) INDIA\n");
cprintf("\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b
(2) WEST INDIES\n");
cprintf("\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b
(3) AUSTRALIA\n");
cprintf("\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b
(4) ENGLAND\n");
textcolor(CYAN); cprintf("\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\ b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\n PRESS THE CORRECT BUTTON OF YOUR KEYBOARD FOR Rs. 4,000 : "); cin>>ans3; switch(ans3) { case 1 : cout<<" YOU ARE RIGHT \a"; break; case 2 : cout<<" YOU ARE WRONG,aap jaa sakte hain"; break; case 3 : cout<<" YOU ARE WRONG,aap jaa sakte hain"; break; case 4 : cout<<" YOU ARE WRONG,aap jaa sakte hain"; break; } cout<<"\n WE ARE GIVING MANY MANY CONGRATULATION TO YOU\n FOR WINNING RS. 2000\n GOVERNMENT WILL CUT 100% TAX\n SO, SORRY WE CAN'T GIVE YOU ANY MONEY"; } if(ans3==1) { textcolor(GREEN); 11
clrscr(); textcolor(WHITE + BLINK); cprintf("
WELCOME TO KAUN BANEGA CROREPATI ");
textcolor(BROWN); cprintf("\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\ b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\n *--*--*--*--*--*--*--*--*--*-*--* "); cout<<"\n\n\n AAPKA JAWAB BILKUL SAHI\n CHALIYE AGLE SAWAL KI AUR BADTE HAIN\n";
TO KAISA LAG RAHA HAI,\n
cout<<" QUESTION NO. 4\n"; textcolor(YELLOW); cprintf(" (Q) WHICH OF THE FOLLOWING THING USED TO MAKE JEWELLARY ? ");//U UTTRANCHAL HAS BEEN COME FROM WHICH STATE ? "); cout<<"\n AAPKA OPTION AAPKE SAMNE YEH RAHA :\n\a"; textcolor(MAGENTA); cprintf("\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\ b\b\b\b\b (1) MICA\n"); cprintf("\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\ b\b\b\b\b (2) GARNET\n"); cprintf("\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\ b\b\b\b\b (3) NICKEL\n"); cprintf("\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\ b\b\b\b\b (4) BRONZE\n"); textcolor(CYAN); cprintf("\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\ b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\n PRESS THE CORRECT BUTTON OF YOUR KEYBOARD FOR Rs. 5,000 : ");
12
cin>>ans4; switch(ans4) { case 1 : cout<<" YOU ARE WRONG,aap jaa sakte hain"; break; case 2 : cout<<" YOU ARE RIGHT \a"; break; case 3 : cout<<" YOU ARE WRONG,aap jaa sakte hain"; break; case 4 : cout<<" YOU ARE WRONG AAP JAA SAKTE HAIN"; break; } cout<<"\n WE ARE GIVING MANY MANY CONGRATULATION TO YOU\n FOR WINNING RS. 4000\n GOVERNMENT WILL CUT 100% TAX\n SO, SORRY WE CAN'T GIVE YOU ANY MONEY"; } if(ans4==2) { textcolor(GREEN); clrscr(); textcolor(WHITE + BLINK); cprintf("
WELCOME TO KAUN BANEGA CROREPATI ");
textcolor(BROWN); cprintf("\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\ b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\n *--*--*--*--*--*--*--*--*--*-*--* "); cout<<"\n\n\n AAPKA JAWAB BILKUL SAHI\n AGLA PRASHNA AAPKO PEHLI PARI TAK PAHUNCHAAYEGA ,\n TAB AAP YAHAIN SE KAM SE KAM\n DUS HAZAR RUPAY LEKAR JA SAKTEIN HAIN"; cout<<"\n
PAANCHWA SAWAL AAPKE COMPUTER SCREEN PE YEH RAHA\n"; 13
cout<<" QUESTION NO. 5\n"; textcolor(YELLOW); cprintf("
(Q) WHICH OF THE HERO HAS SIRNAME \"SRIVASTAVA\" ");
cprintf("\n\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\ b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b BUT HE DON'T USE AFTER HIS NAME ? "); cout<<"\n AAPKA OPTION YEH RAHA :\n\a"; textcolor(MAGENTA); cprintf("\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b KUMAR\n");
(1) DILIP
cprintf("\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b BACHCHAN\n");
(2) AMITAB
cprintf("\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b DHARMENDRA\n");
(3)
cprintf("\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b KUMAR\n");
(4) RAJ
textcolor(CYAN); cprintf("\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\ b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\n PRESS THE CORRECT BUTTON OF YOUR KEYBOARD FOR Rs. 10,000 : "); cin>>ans5; cout<<" AAPKA JAWAB SAHI HE YA NAHI YE HUM BATAYIENGE\n EK CHOTE SE BREAK KE BAD\n SO DON'T GO AWAY WE WILL BE BACK\a "; cout<<"\n\n press \"0\" & \"enter\" "; cin>>c; if (c==0) goto h; h: textcolor(BROWN); clrscr(); cout<<"\n\n \"KAUN BANEGA CROREPATI\" ke prayojak hain :"; 14
textcolor(CYAN); cprintf(" \b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b \b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b \b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b \b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\a\n\n NIRMA WASHING POWDER hai achchaa washing powder \b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b \b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\a\a\n\n aaj raat aath baje dekhiye \a\"THE PREMIRE SHOW OF KABHIE KHUSHI KABHI GHAM\" \a\n\n\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b \b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b AAD GEL STRECH INK PEN jo likhta hi chala jai \a"); cout<<"\n\n press \"0\" & \"enter\" "; cin>>x; if (x==0) goto v; v: textcolor(MAGENTA); clrscr(); if (S==1) cout<<" NAMASHKAR AAPKA PHIR SE SWAGAT HAI KAUN BANEGA CROREPATI MEIN \n MERE SAMNE BAITHein HIAN "<>y; if (y==0) goto g; g: switch(ans5)
15
{ // textcolor(MAGENTA); // clrscr(); case 1 : cout<<" OH! YE GALAT JAWAB THA "; break; case 2 : cout<<" YOU ARE RIGHT,AAP BILKUL SAHI HAIN \a\a"; break; case 3 : cout<<" OH! YE GALAT JAWAB THA"; break; case 4 : cout<<" OH! YE GALAT JAWAB THA"; break; } cout<<"\n WE ARE GIVING MANY MANY CONGRATULATION TO YOU\n FOR WINNING RS. 5000\n GOVERNMENT WILL CUT 100% TAX\n SO, SORRY WE CAN'T GIVE YOU ANY MONEY"; } if(ans5==2) { textcolor(GREEN); clrscr(); textcolor(WHITE + BLINK); cprintf("
WELCOME TO KAUN BANEGA CROREPATI ");
textcolor(BROWN); cprintf("\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\ b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\n *--*--*--*--*--*--*--*--*--*-*--* "); cout<<"\n\n\n BILKUL SAHI JAWAAB\n TO AAPNE PEHLA PARAW PAR KAR HI LIYA\n CHALIYE AGLE SAWAL KI AUR BADTE HAIN"; cout<<"\n
BEES HAZAAR RUPAY KE LIYE AAPKA SAWAL YEH RAHA\n";
16
cout<<" QUESTION NO. 6\n"; textcolor(YELLOW); cprintf("
(Q) WHICH DAY IS CELEBRATE ON 5TH SEPTEMBER ?");
cout<<"\n AAPKA OPTION YEH RAHA :\n\a"; textcolor(MAGENTA); cprintf("\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b DAY\n");
(1) ROSE
cprintf("\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b DAY\n");
(2) VALENTIENS
cprintf("\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b DAY\n");
(3) TEACHERS
cprintf("\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b DAY\n");
(4) CHILDRENS
textcolor(CYAN); cprintf("\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\ b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\n PRESS THE CORRECT BUTTON OF YOUR KEYBOARD FOR Rs. 20,000 : "); cin>>ans6; switch(ans6) { case 1 : cout<<" YOU ARE WRONG,aap jaa sakte hain"; break; case 2 : cout<<" YOU ARE WRONG,aap jaa sakte hain"; break; case 3 : cout<<" YOU ARE RIGHT \a"; break; case 4 : cout<<" YOU ARE WRONG,AAP JAA SAKTE HAIN"; break; } 17
cout<<"\n WE ARE GIVING MANY MANY CONGRATULATION TO YOU\n FOR WINNING RS. 10000\n GOVERNMENT WILL CUT 100% TAX\n SO, SORRY WE CAN'T GIVE YOU ANY MONEY"; } if(ans6==3) {
textcolor(GREEN); clrscr(); textcolor(WHITE + BLINK); cprintf("
WELCOME TO KAUN BANEGA CROREPATI ");
textcolor(BROWN); cprintf("\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\ b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\n *--*--*--*--*--*--*--*--*--*-*--* "); cout<<"\n\n\n cout<<"\n
CHALIYE AGLE SAWAL KI AUR BADTE HAIN";
AGLAA SAWAL AAPKE COMPUTER SCREEN PE YEH RAHA\n";
cout<<" QUESTION NO. 7\n"; textcolor(YELLOW); cprintf(" (Q) IN WHICH BANK OF INDIA PEOPLE COULD NOT OPEN THEIR ACCOUNT ? "); cout<<"\n AAPKA OPTION YEH RAHA\n\a"; textcolor(MAGENTA); cprintf("\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b cprintf("\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b EXPRESS\n");
(1) S.B.I.\n"); (2) AMERICAN
cprintf("\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b
(3) CITI BANK\n");
cprintf("\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b
(4) R.B.I.\n");
textcolor(CYAN); cprintf("\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\ 18
b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\n PRESS THE CORRECT BUTTON OF YOUR KEYBOARD FOR Rs. 40,000 : "); cin>>ans7; switch(ans7) { case 1 : cout<<" YOU ARE WRONG,aap jaa sakte hain"; break; case 2 : cout<<" YOU ARE WRONG,aap jaa sakte hain"; break; case 3 : cout<<" YOU ARE WRONG,aap jaa sakte hain"; break; case 4 : cout<<" YOU ARE RIGHT\a"; break; } cout<<"\n WE ARE GIVING MANY MANY CONGRATULATION TO YOU\n FOR WINNING RS. 20000\n GOVERNMENT WILL CUT 100% TAX\n SO, SORRY WE CAN'T GIVE YOU ANY MONEY"; } if(ans7==4) { textcolor(GREEN); clrscr(); textcolor(WHITE + BLINK); cprintf("
WELCOME TO KAUN BANEGA CROREPATI ");
textcolor(BROWN); cprintf("\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\ b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\n *--*--*--*--*--*--*--*--*--*-*--* "); cout<<"\n\n\n
CONGRATULATION YOU HAVE WON Rs. 40,000";
19
cout<<"\n
NOW COME TO THE NEXT QUESTION\n";
cout<<" QUESTION NO. 8\n"; textcolor(YELLOW); cprintf("
(Q) IN WHICH GAME BLACK BALL IS USE ?");
cout<<"\n YOUR OPTIONS ARE :\n\a"; textcolor(MAGENTA); cprintf("\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b
(1) BILLIARD\n");
cprintf("\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b
(2) POLO\n");
cprintf("\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b TENNIS\n"); cprintf("\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b
(3) TABLE (4) FOOTBALL\n");
textcolor(CYAN); cprintf("\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\ b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\n PRESS THE CORRECT BUTTON OF YOUR KEYBOARD FOR Rs. 80,000 : "); cin>>ans8; switch(ans8) { case 1 : cout<<" YOU ARE RIGHT \a"; break; case 2 : cout<<" YOU ARE WRONG,aap jaa sakte hain"; break; case 3 : cout<<" YOU ARE WRONG,aap jaa sakte hain YOU ARE RIGHT \a"; break; case 4 : cout<<" YOU ARE WRONG,aap jaa sakte hain\a\a"; break; }
20
cout<<"\n WE ARE GIVING MANY MANY CONGRATULATION TO YOU\n FOR WINNING RS. 40000\n GOVERNMENT WILL CUT 100% TAX\n SO, SORRY WE CAN'T GIVE YOU ANY MONEY"; } if(ans8==1) { textcolor(GREEN); clrscr(); textcolor(WHITE + BLINK); cprintf("
WELCOME TO KAUN BANEGA CROREPATI ");
textcolor(BROWN); cprintf("\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\ b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\n *--*--*--*--*--*--*--*--*--*-*--* "); cout<<"\n\n\n HAZAR RUPAY"; cout<<"\n
AAPKA JAWAB BILKUL SAHI\n
AAP JEET CHUKE HAIN ASSI
AGLA SAWAL AAPKE COMPUTER SCREEN PE YEH RAHA\n";
cout<<" QUESTION NO. 9\n"; textcolor(YELLOW); cprintf("
(Q) MOHALI IS SITUATED IN WHICH STATE ? ");
cout<<"\n AAPKA OPTION YEH RAHA :\n\a"; textcolor(MAGENTA); cprintf("\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b cprintf("\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b MAHARASTRA\n"); cprintf("\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b cprintf("\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b RAJASHTHAN\n");
(1) U.P.\n"); (2) (3) PUNJAB\n"); (4)
textcolor(CYAN); cprintf("\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\ 21
b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\n PRESS THE CORRECT BUTTON OF YOUR KEYBOARD FOR Rs. 1,60,000 : "); cin>>ans9; switch(ans9) { case 1 : cout<<" YOU ARE WRONG,aap jaa sakte hain"; break; case 2 : cout<<" YOU ARE WRONG,aap jaa sakte hain"; break; case 3 : cout<<" YOU ARE RIGHT \a"; break; case 4 : cout<<" YOU ARE WRONG AAP JAA SAKTE HAIN"; break; } cout<<"\n WE ARE GIVING MANY MANY CONGRATULATION TO YOU\n FOR WINNING RS. 80000\n GOVERNMENT WILL CUT 100% TAX\n SO, SORRY WE CAN'T GIVE YOU ANY MONEY"; } if(ans9==3) { textcolor(GREEN); clrscr(); textcolor(WHITE + BLINK); cprintf("
WELCOME TO KAUN BANEGA CROREPATI ");
textcolor(BROWN); cprintf("\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\ b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\n *--*--*--*--*--*--*--*--*--*-*--* ");
22
cout<<"\n\n\n AAPKA JAWAB BILKUL SAHI\n HAI,CHALIYE AGLE SAWAL KI AUR BADTE HAIN,\n PHUNCHAYEGA"; cout<<"\n
TO KAISA LAG RAHA JO AAPKO DUSRI PARI TAK
DUSWA SAWAL AAPKE COMPUTER SCREEN PAR YEH RAHA\n";
cout<<" QUESTION NO. 10\n"; textcolor(YELLOW); cprintf("
(Q) WHICH OF FOLLWING PLACE IS KNOWN AS \"QUEEN OF HILLS\" ?
"); cout<<"\n AAPKA OPTION YEH RAHA :\n\a"; textcolor(MAGENTA); cprintf("\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\bb\b\b\b\b\b\b\b\b\bb\b\b\b\b\b\b\b\b\ b (1) NAINITAL\n"); cprintf("\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\bb\b\b\b\b\b\b\b\b\bb\b\b\b\b\b\b\b\b\ b (2) MOSSOURIE\n"); cprintf("\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\bb\b\b\b\b\b\b\b\b\bb\b\b\b\b\b\b\b\b\ b (3) OOTY\n"); cprintf("\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\bb\b\b\b\b\b\b\b\b\bb\b\b\b\b\b\b\b\b\ b (4) DARGEELING\n"); textcolor(CYAN); cprintf("\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\ b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\n PRESS THE CORRECT BUTTON OF YOUR KEYBOARD FOR Rs. 3,20,000 : "); cin>>ans10; switch(ans10) { case 1 : cout<<" YOU ARE WRONG,aap jaa sakte hain"; break; case 2 : cout<<" YOU ARE RIGHT \a"; 23
break; case 3 : cout<<" YOU ARE WRONG AAP JAA SAKTE HAIN"; break; case 4 : cout<<" YOU ARE WRONG AAP JAA SAKTE HAIN"; break; } cout<<"\n WE ARE GIVING MANY MANY CONGRATULATION TO YOU\n FOR WINNING RS. 160000\n GOVERNMENT WILL CUT 100% TAX\n SO, SORRY WE CAN'T GIVE YOU ANY MONEY"; } if(ans10==2) { textcolor(GREEN); clrscr(); textcolor(WHITE + BLINK); cprintf("
WELCOME TO KAUN BANEGA CROREPATI ");
textcolor(YELLOW); cprintf("\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\ b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\n *--*--*--*--*--*--*--*--*--*-*--* "); cout<<"\n\n\n YEH BILKUL SAHI JAWAB HAI\n IS PRAKAR AAPNE DUSRI PARI PAR KAR LI HAI\n AB AAP YAHAIN SE KAM SE KAM\n TEEN LAKH BIS HAZAR RUPAYE LEKAR JA SAKTE HAIN\n"; cout<<" QUESTION NO. 11\n"; textcolor(YELLOW); cprintf(" THE SONG
(Q) (NA TUM HO UDAAS JO MAIN HUN TERE PAAS HAMESHA...) IS OF WHICH FILM ? ");
cout<<"\n AAPKA OPTION YEH RAHA :\n\a"; textcolor(MAGENTA);
24
cprintf("\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\ b\b (1) KUCH KUCH HOTA HAI\n"); cprintf("\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\ b\b (2) KABHI KHUSHI KABHI GUM\n"); cprintf("\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\ b\b (3) DEEWANAPAN\n"); cprintf("\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\ b\b (4) KOI MERE DIL SE PUCHE\n"); textcolor(CYAN); cprintf("\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\ b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\n PRESS THE CORRECT BUTTON OF YOUR KEYBOARD FOR Rs. 6,40,000 : "); cin>>ans11; switch(ans11) { case 1 : cout<<" YOU ARE WRONG,aap jaa sakte hain"; break; case 2 : cout<<" YOU ARE WRONG AAP JAA SAKTE HAIN\a"; break; case 3 : cout<<" YOU ARE WRONG,aap jaa sakte hain"; break; case 4 : cout<<" YOU ARE RIGHT \a"; break; } cout<<"\n WE ARE GIVING MANY MANY CONGRATULATION TO YOU\n FOR WINNING RS. 320000\n GOVERNMENT WILL CUT 100% TAX\n SO, SORRY WE CAN'T GIVE YOU ANY MONEY";
25
} if(ans11==4) { textcolor(GREEN); clrscr(); textcolor(WHITE + BLINK); cprintf("
WELCOME TO KAUN BANEGA CROREPATI ");
textcolor(BROWN); cprintf("\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\ b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\n *--*--*--*--*--*--*--*--*--*-*--* "); cout<<"\n\n\n cout<<" RAHA\n";
BILKUL SAHI JAWAAB\n";
BARA LAKH PACHAAS HAZAR RUPAYE KE LIYE AAPKA SAWAL YEH
cout<<" QUESTION NO. 12\n"; textcolor(YELLOW); cprintf("
(Q) IN WHICH YEAR RABINDRANATH TAGORE'S GITANJALI WAS ");
cprintf("\n\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\ b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b FIRST PUBLISHED IN ENGLISH ?"); cout<<"\n AAPKA OPTION YEH RAHA :\n\a"; textcolor(MAGENTA); cprintf("\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b 1910\n");
(1)
cprintf("\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b 1911\n");
(2)
cprintf("\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b 1912\n");
(3)
cprintf("\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b 1913\n");
(4)
textcolor(CYAN); 26
cprintf("\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\ b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\n PRESS THE CORRECT BUTTON OF YOUR KEYBOARD FOR Rs. 12,50,000 : "); cin>>ans12; cout<<" AAPKA JAWAB SAHI HE YA NAHI YE HUM BATAYIENGE\n EK CHOTE SE BREAK KE BAD\n SO DON'T GO AWAY WE WILL BE BACK\a "; cout<<"\n\n press \"0\" & \"enter\" "; cin>>J; if (J==0) goto N; N: textcolor(BROWN); clrscr(); cout<<"\n\n \"KAUN BANEGA CROREPATI\" ke prayojak hain :"; textcolor(CYAN); cprintf(" \b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b \b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b \b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b \b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\a\n\n RUPA THERMOCOTE jo thandi mein bhi de garmi ka ehsas \a\a\n\n\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b \b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b UJAALA SUPREME bas char bund hi kaafi kai \a\n\n\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b \b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b PERK thodi si pet puja kabhi bhi kanhi bhi "); cout<<"\n\n press \"0\" & \"enter\" "; cin>>O; if (O==0) goto P; P: textcolor(MAGENTA); clrscr(); 27
if (S==1) cout<<" NAMASHKAR AAPKA PHIR SE SWAGAT HAI KAUN BANEGA CROREPATI MEIN \n MERE SAMNE BAITHein HIAN "<>U; if (U==0) goto i; i:
switch(ans12) { case 1 : cout<<" YOU ARE WRONG,aap jaa sakte hain"; break; case 2 : cout<<" YOU ARE WRONG,aap jaa sakte hain YOU ARE RIGHT"; break; case 3 : cout<<" YOU ARE RIGHT \a "; break; case 4 : cout<<" YOU ARE WRONG,aap jaa sakte hain "; break; }
cout<<"\n WE ARE GIVING MANY MANY CONGRATULATION TO YOU\n FOR WINNING RS. 640000\n GOVERNMENT WILL CUT 100% TAX\n SO, SORRY WE CAN'T GIVE YOU ANY MONEY"; } if(ans12==3) { textcolor(GREEN);
28
clrscr(); textcolor(WHITE + BLINK); cprintf("
WELCOME TO KAUN BANEGA CROREPATI ");
textcolor(YELLOW); cprintf("\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\ b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\n *--*--*--*--*--*--*--*--*--*-*--* "); cout<<"\n\n\n AUR BADTE HAIN"; cout<<"\n
TO AAP KO KAISA LAG RAHA HAI\n
CHALIYE AGLE SAWAL KI
AGLAA SAWAL AAPKE COMPUTER SCREEN PE YEH RAHA\n";
cout<<" QUESTION NO. 13\n"; textcolor(YELLOW); cprintf("
(Q) WHAT IS THE VALUE OF (A-X)(B-X)(C-X)....(Z-X) ?");
cout<<"\n AAPKA OPTION YEH RAHA :\n\a"; textcolor(MAGENTA); cprintf("\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b
(1) 0\n");
cprintf("\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b
(2) 1\n");
cprintf("\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b (ABCD...)(AX-X)\n");
(3)
cprintf("\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b OTHER\n");
(4)
textcolor(CYAN); cprintf("\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\ b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\n PRESS THE CORRECT BUTTON OF YOUR KEYBOARD FOR Rs. 25,00,000 : "); cin>>ans13; switch(ans13) { case 1 : cout<<" YOU ARE RIGHT\a"; 29
break; case 2 : cout<<" YOU ARE WRONG,aap jaa sakte hain "; break; case 3 : cout<<" YOU ARE WRONG,aap jaa sakte hain"; break; case 4 : cout<<" YOU ARE WRONG AAP JAA SAKTE HAIN"; break; } cout<<"\n WE ARE GIVING MANY MANY CONGRATULATION TO YOU\n FOR WINNING RS. 1250000\n GOVERNMENT WILL CUT 100% TAX\n SO, SORRY WE CAN'T GIVE YOU ANY MONEY"; } if(ans13==1) { textcolor(GREEN); clrscr(); textcolor(WHITE + BLINK); cprintf("
WELCOME TO KAUN BANEGA CROREPATI ");
textcolor(YELLOW); cprintf("\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\ b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\n *--*--*--*--*--*--*--*--*--*-*--* "); cout<<"\n\n TO AAP AAB PACHCHIS LAKH RUPAY JEET CHUKE HAIN\n AUR AAP SIRF DO PRSHNA DUR HAIN EK CRORE RUPAYE SE,\n CHALIYE AAGE BADTE HAIN"; cout<<"\n
AGLAA SAWAL AAPKE COMPUTER SCREEN PE YEH RAHA\n";
cout<<" QUESTION NO. 14\n"; textcolor(YELLOW); cprintf("
(Q) IN WHICH CITY JRD TATA SPORT COMPLEX LOCATED ? ");
cout<<"\n AAPKA OPTION YEH RAHA :\n\a"; 30
textcolor(MAGENTA); cprintf("\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\ b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b (1) KOLKATA\n"); cprintf("\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\ b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b (2) KANPUR\n"); cprintf("\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\ b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b (3) MUMBAI\n"); cprintf("\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\ b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b (4) JAMSHEDPUR\n"); textcolor(CYAN); cprintf("\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\ b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\n PRESS THE CORRECT BUTTON OF YOUR KEYBOARD FOR Rs. 50,00,000 : "); cin>>ans14; switch(ans14) { case 1 : cout<<" YOU ARE WRONG,aap jaa sakte hain"; break; case 2 : cout<<" YOU ARE WRONG AAP JAA SAKTE HAIN"; break; case 3 : cout<<" YOU ARE WRONG,aap jaa sakte hain"; break; case 4 : cout<<" YOU ARE RIGHT \a"; break; }
31
cout<<"\n WE ARE GIVING MANY MANY CONGRATULATION TO YOU\n FOR WINNING RS. 2500000 \n GOVERNMENT WILL CUT 100% TAX\n SO, SORRY WE CAN'T GIVE YOU ANY MONEY"; } if(ans14==4) { textcolor(GREEN); clrscr(); textcolor(WHITE + BLINK); cprintf("
WELCOME TO KAUN BANEGA CROREPATI ");
textcolor(BROWN); cprintf("\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\ b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\n *--*--*--*--*--*--*--*--*--*-*--* "); cout<<"\n\n\n AAPKA SWAGAT HAI HAMARE AAKHRI AUR PANDRAWE SAWAL ME\n JO AAPKO EK CRORE RUPAY DILAA SAKTA HAI"; cout<<"\n
KYA AAP TAIYAAR HAIN,\n
TO AAPKA SAWAL YEH RAHA\n";
cout<<" DANGEROUS QUESTION NO. 15\n"; textcolor(YELLOW); cprintf("
(Q)WHO WAS THE FIRST WOMAN TO CROSS ENGLISH CHANNEL ? ");
cout<<"\n AAPKA KHATARNAK OPTION YEH RAHA :\n\a"; textcolor(MAGENTA); cprintf("\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b (1) ARPITA CHATTERJEE\n"); cprintf("\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b (2) SOBHA GANGULY\n"); cprintf("\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b (3) AARTI SAHA\n");
32
cprintf("\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b (4) ROMA MUKHERJEE\n"); textcolor(CYAN); cprintf("\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\ b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\n PRESS THE CORRECT BUTTON OF YOUR KEYBOARD FOR Rs. 1,00,00,000 : "); cin>>ans15; textbackground(RED); textcolor(WHITE+BLINK); cout<<" "<
if (ans15==3) { cout<<"\n WE ARE GIVING MANY MANY CONGRATULATION TO YOU\n FOR WINNING RS. 1,00,00,000\n GOVERNMENT WILL CUT 100% TAX\n SO, SORRY WE CAN'T GIVE YOU ANY MONEY"; } 33
if (ans15!=3) { cout<<"\n YOU ARE WRONG BUT, WE ARE GIVING MANY MANY CONGRATULATION TO YOU\n FOR WINNING RS. 50,00,000\n GOVERNMENT WILL CUT 100% TAX\n SO, SORRY WE CAN'T GIVE YOU ANY MONEY"; } } else { cout<<"\n afsos "<
34
BOOKS: Computer science with c++ by Sumita Arora Object oriented programming with c++ by E Balagurusamy INTERNET:
www.icbse.com www.cbseportal.com www.c++projects.com
35