#include<iostream.h>
#include<conio.h>
main()
{
clrscr();
char chr1,chr2,chr3,chr4;
int choice;
niit:
clrscr();
cout<<"\n\t\t\t\t SMART QUIZ ";
cout<<"\n\t\t\t\t_____________"<<endl;
cout<<"\n\t\t\t ______________________"<<endl;
cout<<"\t\t\t | | | ";
cout<<"\n\t\t\t |slN | Main Menu |"<<endl;
/*cout<<"\t\t\t | | | ";*/
cout<<"\t\t\t |____|_________________|"<<endl;
cout<<"\t\t\t | | | ";
cout<<"\n\t\t\t | 1- | Play Game |"<<endl;
cout<<"\t\t\t | | | ";
cout<<"\n\t\t\t | 2- | Details |"<<endl;
cout<<"\t\t\t | | | ";
cout<<"\n\t\t\t | 3- | Help |"<<endl;
cout<<"\t\t\t | | | ";
cout<<"\n\t\t\t | 4- | Quit |"<<endl;
cout<<"\t\t\t | | | ";
cout<<"\n\t\t\t |____|_________________|" <<endl;
cout<<"\n\t\t Enter Your Choice in (1 to 4)...... :";
cin>>choice;
switch(choice)
{
case 1:
part_1:
a:
clrscr();
cout<<"\t______________________________";
cout<<"\n\t First Question For You "<<endl;
cout<<"\t______________________________";
cout<<"\n\n\t1. How many languages and are spoken by"<<"\n\t people all over the World?";
cout<<"\n\n\t A. 6,000 \t B. 9,000 ";
cout<<"\n\t C. 4,000 \t D. 1,000 \t :";
cin>>chr1;
if (chr1 == 'b' || chr1 == 'B')
{
cout<<"\n\n\n\t\t Your Answer is Correct "<<endl;
cout<<"\n\t\t\t________________";
cout<<"\n\t\t\t YOU WIN 5,000 ";
cout<<"\n\t\t\t________________";
cout<<"\n\n\n\n\t Press 'N' for Goto Next Question ";
cout<<"\n\t Press 'M' for Goto Main Menu :";
cin>>chr2;
if (chr2== 'm' || chr2=='M')
goto niit;
else
goto b;
}
else
{
cout<<"\n\n\n\t\t SORRY! Wrong Answer ";
cout<<"\n\t The Correct Answer is (B. 9,000) ";
cout<<"\n\t\t\t____________";
cout<<"\n\t\t\t YOU LOSS ";
cout<<"\n\t\t\t____________";
cout<<"\n\n\n\n\t\t GAME OVER "<<endl;
cout<<"\n\t Press 'T' for Try Again ";
cout<<"\n\t Press 'M' for Goto Main Menu :";
cin>>chr3;
if(chr3=='m' || chr3=='M')
goto niit;
else
goto part_2;
}
b:
clrscr();
cout<<"\n\t2. Approximately, how many people speak"<<"\n\t Chinese language?";
cout<<"\n\n\t A. 1 billion \t B. 1 million ";
cout<<"\n\t C. 1 lakh \t D. 1 thousend \t :";
cin>>chr1;
if (chr1 == 'a' || chr1 == 'A')
{
cout<<"\n\n\n\t\t Your Answer is Correct "<<endl;
cout<<"\n\t\t\t________________";
cout<<"\n\t\t\t YOU WIN 10,000 ";
cout<<"\n\t\t\t________________";
cout<<"\n\n\n\n\t Press 'N' for Goto Next Question ";
cout<<"\n\t Press 'M' for Goto Main Menu : ";
cin>>chr2;
if (chr2=='m' || chr2=='M')
goto niit;
else
goto c;
}
else
{
cout<<"\n\n\n\t\t SORRY! Wrong Answer ";
cout<<"\n\t The Correct Answer is (A. 1 billion) ";
cout<<"\n\t\t\t____________";
cout<<"\n\t\t\t YOU LOSS ";
cout<<"\n\t\t\t____________";
cout<<"\n\n\n\n\t\t GAME OVER "<<endl;
cout<<"\n\t Press 'T' for Try Again ";
cout<<"\n\t Press 'M' for Goto Main Menu :";
cin>>chr3;
if(chr3=='m' || chr3=='M')
goto niit;
else
goto part_2;
}
c:
clrscr();
cout<<"\n\t3. The language with the richest vocabulary is ? ";
cout<<"\n\n\t A. Hindi \t B. French ";
cout<<"\n\t C. English \t D. German \t :";
cin>>chr1;
if (chr1 == 'c' || chr1 == 'C')
{
cout<<"\n\n\n\t\t Your Answer is Correct "<<endl;
cout<<"\n\t\t\t________________";
cout<<"\n\t\t\t YOU WIN 20,000 ";
cout<<"\n\t\t\t________________";
cout<<"\n\n\n\n\t Press 'N' for Goto Next Question ";
cout<<"\n\t Press 'M' for Goto Main Menu ";
cin>>chr2;
if (chr2== 'm' || chr2=='M')
goto niit;
else
goto d;
}
else
{
cout<<"\n\n\n\t\t SORRY! Wrong Answer ";
cout<<"\n\t The Correct Answer is (C. English) ";
cout<<"\n\t\t\t____________";
cout<<"\n\t\t\t YOU LOSS ";
cout<<"\n\t\t\t____________";
cout<<"\n\n\n\n\t\t GAME OVER "<<endl;
cout<<"\n\t Press 'T' for Try Again ";
cout<<"\n\t Press 'M' for Goto Main Menu :";
cin>>chr3;
if(chr3=='m' || chr3=='M')
goto niit;
else
goto part_2;
}
d:
clrscr();
cout<<"\n\t4. English Language have more than ?? words ";
cout<<"\n\n\t A. 4,50,000 \t B. 45,000 ";
cout<<"\n\t C. 4,500 \t D. 450 \t :";
cin>>chr1;
if (chr1 == 'a' || chr1 == 'A')
{
cout<<"\n\n\n\t\t Your Answer is Correct "<<endl;
cout<<"\n\t\t\t________________";
cout<<"\n\t\t\t YOU WIN 50,000 ";
cout<<"\n\t\t\t________________";
cout<<"\n\n\n\n\t Press 'N' for Goto Next Question ";
cout<<"\n\t Press 'M' for Goto Main Menu :";
cin>>chr2;
if (chr2== 'm' || chr2=='M')
goto niit;
else
goto e;
}
else
{
cout<<"\n\n\n\t\t SORRY! Wrong Answer ";
cout<<"\n\t The Correct Answer is (A. 4,50,000) ";
cout<<"\n\t\t\t_____________________";
cout<<"\n\t\t\t YOU WIN 20,000 Only ";
cout<<"\n\t\t\t_____________________";
cout<<"\n\n\n\n\t\t GAME OVER "<<endl;
cout<<"\n\t Press 'T' for Try Again ";
cout<<"\n\t Press 'M' for Goto Main Menu :";
cin>>chr3;
if(chr3=='m' || chr3=='M')
goto niit;
else
goto part_2;
}
e:
clrscr();
cout<<"\n\t___________________________";
cout<<"\n\tLAST QUESTION for 1,00,000 ";
cout<<"\n\t___________________________";
cout<<"\n\n\t5. The oldest Indian language is ";
cout<<"\n\n\t A. Telugu \t B. Hindu ";
cout<<"\n\t C. Tamil \t D. Punjabi \t:";
cin>>chr1;
if (chr1 == 'c' || chr1 == 'C')
{
cout<<"\n\n\tCONGRATULATIONS ";
cout<<"\n\t___________________";
cout<<"\n\n\t\t Your Answer is Correct ";
cout<<"\n\t\t\t___________________";
cout<<"\n\t\t\t YOU WIN 1,00,000 ";
cout<<"\n\t\t\t___________________";
cout<<"\n\n\n\t\t GAME OVER "<<endl;
cout<<"\n\t Press 'A' for Play Again ";
cout<<"\n\t Press 'M' for Goto Main Menu :";
cin>>chr2;
if (chr2== 'm' || chr2=='M')
goto niit;
else
goto part_2;
}
else
{
cout<<"\n\n\n\t\t SORRY! Wrong Answer ";
cout<<"\n\t The Correct Answer is (C. Telugu) ";
cout<<"\n\t\t\t_____________________";
cout<<"\n\t\t\t YOU WIN 20,000 Only ";
cout<<"\n\t\t\t_____________________";
cout<<"\n\n\n\n\t\t GAME OVER "<<endl;
cout<<"\n\t Press 'T' for Try Again ";
cout<<"\n\t Press 'M' for Goto Main Menu : ";
cin>>chr3;
if(chr3=='m' || chr3=='M')
goto niit;
else
goto part_2;
}
part_2:
f:
clrscr(); cout<<"\t__________________________";
cout<<"\n\t Firt Question For You "<<endl;
cout<<"\t__________________________";
cout<<"\n\n\t 1. Which book has been printed in the maximum number of"<<"\n\t languages and these scripts? ";
cout<<"\n\n\t A. The Bible \t B. Hiraka Sutra ";
cout<<"\n\t C. The Super Book \tD. None of these \t :";
cin>>chr1;
if (chr1 == 'a' || chr1 == 'A')
{
cout<<"\n\n\n\t\t Your Answer is Correct "<<endl;
cout<<"\n\t\t\t________________";
cout<<"\n\t\t\t YOU WIN 5,000 ";
cout<<"\n\t\t\t________________";
cout<<"\n\n\n\n\t Press 'N' for Goto Next Question ";
cout<<"\n\t Press 'M' for Goto Main Menu : ";
cin>>chr2;
if (chr2== 'm' || chr2=='M')
goto niit;
else
goto g;
}
else
{
cout<<"\n\n\n\t\t SORRY! Wrong Answer ";
cout<<"\n\t The Correct Answer is (A. The Bible) ";
cout<<"\n\t\t\t____________";
cout<<"\n\t\t\t YOU LOSS ";
cout<<"\n\t\t\t____________";
cout<<"\n\n\n\n\t\t GAME OVER "<<endl;
cout<<"\n\t Press 'T' for Try Again ";
cout<<"\n\t Press 'M' for Goto Main Menu :";
cin>>chr3;
if(chr3=='m' || chr3=='M')
goto niit;
else
goto part_3;
}
g:
clrscr();
cout<<"\n\t2. The only religious book ever printed in a shorthand scripts is ?";
cout<<"\n\n\t A. The Ramayana \t B. The Mahabharata ";
cout<<"\n\t C. The bible \t\t D. Guru Granth Sahib \t :";
cin>>chr1;
if (chr1 == 'c' || chr1 == 'C')
{
cout<<"\n\n\n\t\t Your Answer is Correct "<<endl;
cout<<"\n\t\t\t________________";
cout<<"\n\t\t\t YOU WIN 10,000 ";
cout<<"\n\t\t\t________________";
cout<<"\n\n\n\n\t Press 'N' for Goto Next Question ";
cout<<"\n\t Press 'M' for Goto Main Menu : ";
cin>>chr2;
if (chr2== 'm' || chr2=='M')
goto niit;
else
goto h;
}
else
{
cout<<"\n\n\n\t\t SORRY! Wrong Answer ";
cout<<"\n\t The Correct Answer is (C. The bible) ";
cout<<"\n\t\t\t____________";
cout<<"\n\t\t\t YOU LOSS ";
cout<<"\n\t\t\t____________";
cout<<"\n\n\n\n\t\t GAME OVER "<<endl;
cout<<"\n\t Press 'T' for Try Again ";
cout<<"\n\t Press 'M' for Goto Main Menu :";
cin>>chr3;
if(chr3=='m' || chr3=='M')
goto niit;
else
goto part_3;
}
h:
clrscr();
cout<<"\n\t3. Badminton is the national sport at : " ;
cout<<"\n\n\t A. Malaysia \t\t B. Scotland ";
cout<<"\n\t C. China \t\t D. Former soviet Union \t:";
cin>>chr1;
if (chr1 == 'a' || chr1 == 'A')
{
cout<<"\n\n\n\t\t Your Answer is Correct "<<endl;
cout<<"\n\t\t\t________________";
cout<<"\n\t\t\t YOU WIN 20,000 ";
cout<<"\n\t\t\t________________";
cout<<"\n\n\n\n\t Press 'N' for Goto Next Question ";
cout<<"\n\t Press 'M' for Goto Main Menu : ";
cin>>chr2;
if (chr2== 'm' || chr2=='M')
goto niit;
else
goto i;
}
else
{
cout<<"\n\n\n\t\t\tSORRY! Wrong Answer ";
cout<<"\n\t\tThe Correct Answer is (A. Malaysia) ";
cout<<"\n\t\t\t ____________";
cout<<"\n\t\t\t YOU LOSS ";
cout<<"\n\t\t\t ____________";
cout<<"\n\n\n\n\t\t GAME OVER "<<endl;
cout<<"\n\t Press 'T' for Try Again ";
cout<<"\n\t Press 'M' for Goto Main Menu :";
cin>>chr3;
if(chr3=='m' || chr3=='M')
goto niit;
else
goto part_3;
}
i:
clrscr();
cout<<"\n\t4. The largest book, the super book, is ?? and weight is ?? ";
cout<<"\n\n\t A. 270 cm, 300 cm, 252 kg. \t B. 100 cm, 110 cm, 100 kg. ";
cout<<"\n\t C. 200 cm, 100 cm, 60 kg. \t D. None of these \t:";
cin>>chr1;
if (chr1 == 'a' || chr1 == 'A')
{
cout<<"\n\n\n\t\t Your Answer is Correct "<<endl;
cout<<"\n\t\t\t________________";
cout<<"\n\t\t\t YOU WIN 50,000 ";
cout<<"\n\t\t\t________________";
cout<<"\n\n\n\n\t Press 'N' for Goto Next Question ";
cout<<"\n\t Press 'M' for Goto Main Menu : ";
cin>>chr2;
if (chr2== 'm' || chr2=='M')
goto niit;
else
goto k;
}
else
{
cout<<"\n\n\n\t\t\tSORRY! Wrong Answer ";
cout<<"\n\tThe Correct Answer is (A. 270 cm, 300 cm, 252 kg. ) "<<endl;
cout<<"\n\t\t\t_____________________";
cout<<"\n\t\t\t YOU WIN 20,000 Only";
cout<<"\n\t\t\t_____________________";
cout<<"\n\n\n\t\t GAME OVER "<<endl;
cout<<"\n\t Press 'T' for Try Again ";
cout<<"\n\t Press 'M' for Goto Main Menu : ";
cin>>chr3;
if(chr3=='m' || chr3=='M')
goto niit;
else
goto part_3;
}
k:
clrscr();
cout<<"\n\t___________________________";
cout<<"\n\tLAST QUESTION for 1,00,000 ";
cout<<"\n\t___________________________";
cout<<"\n\n\t5. Les Hommes de bonne volonté is the ";
cout<<"\n\n\t A. Longest novel ever published "<<"\n\t B. Shortest novel every published ";
cout<<"\n\t C. The oldest novel "<<"\n\t D. None of these \t\t :";
cin>>chr1;
if (chr1 == 'a' || chr1 == 'A')
{
cout<<"\n\tCONGRATULATIONS ";
cout<<"\n\t___________________";
cout<<"\n\n\t\t Your Answer is Correct ";
cout<<"\n\t\t\t___________________";
cout<<"\n\t\t\t YOU WIN 1,00,000 ";
cout<<"\n\t\t\t___________________";
cout<<"\n\n\t\t GAME OVER "<<endl;
cout<<"\n\t Press 'A' for Play Again ";
cout<<"\n\t Press 'M' for Goto Main Menu :";
cin>>chr2;
if (chr2== 'm' || chr2=='M')
goto niit;
else
goto part_3;
}
else
{
cout<<"\n\n\t\t\t SORRY! Wrong Answer ";
cout<<"\n\tThe Correct Answer is (A. Longest novel ever published ) "<<endl;
cout<<"\n\t\t\t_____________________";
cout<<"\n\t\t\t YOU WIN 20,000 Only ";
cout<<"\n\t\t\t_____________________";
cout<<"\n\n\t\t GAME OVER "<<endl;
cout<<"\n\t Press 'T' for Try Again ";
cout<<"\n\t Press 'M' for Goto Main Menu : ";
cin>>chr3;
if(chr3=='m' || chr3=='M')
goto niit;
else
goto part_3;
}
part_3:
l:
clrscr();
cout<<"\t______________________________";
cout<<"\n\t First Question For You "<<endl;
cout<<"\t______________________________";
cout<<"\n\n\t1. The city of the Jaunpur was founded by ? ";
cout<<"\n\n\t A. Muhammad Tughlaq \t\t B. Firoz shah Tughlaq ";
cout<<"\n\t C. Ibrahim shah shargi \t D. Sikandar Lodi \t:";
cin>>chr1;
if (chr1 == 'b' || chr1 == 'B')
{
cout<<"\n\n\n\t\t Your Answer is Correct "<<endl;
cout<<"\n\t\t\t________________";
cout<<"\n\t\t\t YOU WIN 5,000 ";
cout<<"\n\t\t\t________________";
cout<<"\n\n\n\n\t Press 'N' for Goto Next Question ";
cout<<"\n\t Press 'M' for Goto Main Menu : ";
cin>>chr2;
if (chr2== 'm' || chr2=='M')
goto niit;
else
goto m;
}
else
{
cout<<"\n\n\n\t\t SORRY! Wrong Answer ";
cout<<"\n\t The Correct Answer is (B. Firoz shah tughlaq) ";
cout<<"\n\t\t\t____________";
cout<<"\n\t\t\t YOU LOSS ";
cout<<"\n\t\t\t____________";
cout<<"\n\n\n\n\t\t GAME OVER "<<endl;
cout<<"\n\t Press 'T' for Try Again ";
cout<<"\n\t Press 'M' for Goto Main Menu :";
cin>>chr3;
if(chr3=='m' || chr3=='M')
goto niit;
else
goto part_4;
}
m:
clrscr();
cout<<"\n\t2. Which Rashtrakut King defeated the pratihar ruler Nagabhatta I ? ";
cout<<"\n\n\t A. India 2nd \t\t B. Krishna 3rd ";
cout<<"\n\t C. Amoghvarsha 1st \t D. Govind 3rd \t :";
cin>>chr1;
if (chr1 == 'd' || chr1 == 'D')
{
cout<<"\n\n\n\t\t Your Answer is Correct "<<endl;
cout<<"\n\t\t\t________________";
cout<<"\n\t\t\t YOU WIN 10,000 ";
cout<<"\n\t\t\t________________";
cout<<"\n\n\n\n\t Press 'N' for Goto Next Question ";
cout<<"\n\t Press 'M' for Goto Main Menu :";
cin>>chr2;
if (chr2== 'm' || chr2=='M')
goto niit;
else
goto n;
}
else
{
cout<<"\n\n\n\t\t SORRY! Wrong Answer ";
cout<<"\n\t The Correct Answer is (D. Govind 3rd) ";
cout<<"\n\t\t\t____________";
cout<<"\n\t\t\t YOU LOSS ";
cout<<"\n\t\t\t____________";
cout<<"\n\n\n\n\t\t GAME OVER "<<endl;
cout<<"\n\t Press 'T' for Try Again ";
cout<<"\n\t Press 'M' for Goto Main Menu :";
cin>>chr3;
if(chr3=='m' || chr3=='M')
goto niit;
else
goto part_4;
}
n:
clrscr();
cout<<"\n\t3. The book ?Satyartha Prakash? was written by ";
cout<<"\n\n\t A. Swami Dayanand \t B. Swami Vivekanand ";
cout<<"\n\t C. Sarojini Naidu \t D. Kalidas \t :";
cin>>chr1;
if (chr1 == 'a' || chr1 == 'A')
{
cout<<"\n\n\n\t\t Your Answer is Correct "<<endl;
cout<<"\n\t\t\t________________";
cout<<"\n\t\t\t YOU WIN 20,000 ";
cout<<"\n\t\t\t________________";
cout<<"\n\n\n\n\t Press 'N' for Goto Next Question ";
cout<<"\n\t Press 'M' for Goto Main Menu : ";
cin>>chr2;
if (chr2== 'm' || chr2=='M')
goto niit;
else
goto o;
}
else
{
cout<<"\n\n\n\t\t SORRY! Wrong Answer ";
cout<<"\n\t The Correct Answer is (A. Swami Dayanand) ";
cout<<"\n\t\t\t____________";
cout<<"\n\t\t\t YOU LOSS ";
cout<<"\n\t\t\t____________";
cout<<"\n\n\n\n\t\t GAME OVER "<<endl;
cout<<"\n\t Press 'T' for Try Again ";
cout<<"\n\t Press 'M' for Goto Main Menu :";
cin>>chr3;
if(chr3=='m' || chr3=='M')
goto niit;
else
goto part_4;
}
o:
clrscr();
cout<<"\n\t4. In UP Which of following tribes has highest population ? ";
cout<<"\n\n\t A. Saharia \t\t B. Tharu ";
cout<<"\n\t C. Agaria \t\t D. Mahigir \t :";
cin>>chr1;
if (chr1 == 'b' || chr1 == 'B')
{
cout<<"\n\n\n\t\t Your Answer is Correct "<<endl;
cout<<"\n\t\t\t________________";
cout<<"\n\t\t\t YOU WIN 50,000 ";
cout<<"\n\t\t\t________________";
cout<<"\n\n\n\n\t Press 'N' for Goto Next Question ";
cout<<"\n\t Press 'M' for Goto Main Menu : ";
cin>>chr2;
if (chr2== 'm' || chr2=='M')
goto niit;
else
goto p;
}
else
{
cout<<"\n\n\n\t\t\t SORRY! Wrong Answer ";
cout<<"\n\t\t The Correct Answer is (B. Tharu) "<<endl;
cout<<"\n\t\t\t_____________________";
cout<<"\n\t\t\t YOU WIN 20,000 Only ";
cout<<"\n\t\t\t_____________________";
cout<<"\n\n\n\n\t\t GAME OVER "<<endl;
cout<<"\n\t Press 'T' for Try Again ";
cout<<"\n\t Press 'M' for Goto Main Menu : ";
cin>>chr3;
if(chr3=='m' || chr3=='M')
goto niit;
else
goto part_4;
}
p:
clrscr();
cout<<"\n\t___________________________";
cout<<"\n\tLAST QUESTION for 1,00,000 ";
cout<<"\n\t___________________________";
cout<<"\n\n\t5. Which of the following is the author of ?Song of India, The?: ";
cout<<"\n\n\t A. Firdausi \t\t B. Sarojini Naidu ";
cout<<"\n\t C. Lala Lajpat Rai \t D. Sri Aurobindo Ghosh \t :";
cin>>chr1;
if (chr1 == 'b' || chr1 == 'B')
{
cout<<"\n\tCONGRATULATIONS ";
cout<<"\n\t___________________";
cout<<"\n\n\t\t Your Answer is Correct "<<endl;
cout<<"\t\t\t__________________";
cout<<"\n\t\t\t YOU WIN 1,00,000 ";
cout<<"\n\t\t\t__________________";
cout<<"\n\n\n\t\t GAME OVER "<<endl;
cout<<"\n\t Press 'A' for Play Again ";
cout<<"\n\t Press 'M' for Goto Main Menu : ";
cin>>chr2;
if (chr2== 'm' || chr2=='M')
goto niit;
else
goto part_4;
}
else
{
cout<<"\n\n\t\t\t SORRY! Wrong Answer ";
cout<<"\n\t\tThe Correct Answer is (B. Sarojini Naidu) "<<endl;
cout<<"\n\t\t\t_____________________";
cout<<"\n\t\t\t YOU WIN 20,000 Only ";
cout<<"\n\t\t\t_____________________";
cout<<"\n\n\n\t\t GAME OVER "<<endl;
cout<<"\n\t Press 'T' for Try Again ";
cout<<"\n\t Press 'M' for Goto Main Menu : ";
cin>>chr3;
if(chr3=='m' || chr3=='M')
goto niit;
else
goto part_4;
}
part_4:
q:
clrscr();
cout<<"\t______________________________";
cout<<"\n\t First Question For You "<<endl;
cout<<"\t______________________________";
cout<<"\n\n\t1. The author of the book ?Time machine? is: ";
cout<<"\n\n\t A. Lewis Carroll \t B. Robert Louis Stevenson ";
cout<<"\n\t C. Charles Lamb \t D. H.G. Wells \t :";
cin>>chr1;
if (chr1 == 'd' || chr1 == 'D')
{
cout<<"\n\n\n\t\t Your Answer is Correct "<<endl;
cout<<"\n\t\t\t________________";
cout<<"\n\t\t\t YOU WIN 5,000 ";
cout<<"\n\t\t\t________________";
cout<<"\n\n\n\n\t Press 'N' for Goto Next Question ";
cout<<"\n\t Press 'M' for Goto Main Menu : ";
cin>>chr2;
if (chr2== 'm' || chr2=='M')
goto niit;
else
goto r;
}
else
{
cout<<"\n\n\n\t\t SORRY! Wrong Answer ";
cout<<"\n\t The Correct Answer is (D. H.G. Wells) ";
cout<<"\n\t\t\t____________";
cout<<"\n\t\t\t YOU LOSS ";
cout<<"\n\t\t\t____________";
cout<<"\n\n\n\n\t\t GAME OVER "<<endl;
cout<<"\n\t Press 'T' for Try Again ";
cout<<"\n\t Press 'M' for Goto Main Menu :";
cin>>chr3;
if(chr3=='m' || chr3=='M')
goto niit;
else
goto part_5;
}
r:
clrscr();
cout<<"\n\t2. Who discovered Australia ? ";
cout<<"\n\n\t A. Eric the Red \t B. Leif Ericsson ";
cout<<"\n\t C. William Janszoom \t D. None of these \t :";
cin>>chr1;
if (chr1 == 'c' || chr1 == 'C')
{
cout<<"\n\n\n\t\t Your Answer is Correct "<<endl;
cout<<"\n\t\t\t________________";
cout<<"\n\t\t\t YOU WIN 10,000 ";
cout<<"\n\t\t\t________________";
cout<<"\n\n\n\n\t Press 'N' for Goto Next Question ";
cout<<"\n\t Press 'M' for Goto Main Menu : ";
cin>>chr2;
if (chr2== 'm' || chr2=='M')
goto niit;
else
goto s;
}
else
{
cout<<"\n\n\n\t\t SORRY! Wrong Answer ";
cout<<"\n\t The Correct Answer is (C. William Janszoom) ";
cout<<"\n\t\t\t____________";
cout<<"\n\t\t\t YOU LOSS ";
cout<<"\n\t\t\t____________";
cout<<"\n\n\n\n\t\t GAME OVER "<<endl;
cout<<"\n\t Press 'T' for Try Again ";
cout<<"\n\t Press 'M' for Goto Main Menu :";
cin>>chr3;
if(chr3=='m' || chr3=='M')
goto niit;
else
goto part_5;
}
s:
clrscr();
cout<<"\n\t3. Who located the magnetic pole? ";
cout<<"\n\n\t A. Sir James Clark \t B. Rear Admiral ";
cout<<"\n\t C. Sir John Ross \t D. All the above \t :";
cin>>chr1;
if (chr1 == 'd' || chr1 == 'D')
{
cout<<"\n\n\n\t\t Your Answer is Correct "<<endl;
cout<<"\n\t\t\t________________";
cout<<"\n\t\t\t YOU WIN 20,000 ";
cout<<"\n\t\t\t________________";
cout<<"\n\n\n\n\t Press 'N' for Goto Next Question ";
cout<<"\n\t Press 'M' for Goto Main Menu :";
cin>>chr2;
if (chr2== 'm' || chr2=='M')
goto niit;
else
goto t;
}
else
{
cout<<"\n\n\n\t\t SORRY! Wrong Answer ";
cout<<"\n\t The Correct Answer is (D. All the above) ";
cout<<"\n\t\t\t____________";
cout<<"\n\t\t\t YOU LOSS ";
cout<<"\n\t\t\t____________";
cout<<"\n\n\n\n\t\t GAME OVER "<<endl;
cout<<"\n\t Press 'T' for Try Again ";
cout<<"\n\t Press 'M' for Goto Main Menu :";
cin>>chr3;
if(chr3=='m' || chr3=='M')
goto niit;
else
goto part_5;
}
t:
clrscr();
cout<<"\n\t4. The book ?We Indians? was written by: ";
cout<<"\n\n\t A. H.G. Wells \t\t B. Khushwant Singh ";
cout<<"\n\t C. James Jeans \t D. Thomas Moore \t :";
cin>>chr1;
if (chr1 == 'b' || chr1 == 'B')
{
cout<<"\n\n\n\t\t Your Answer is Correct "<<endl;
cout<<"\n\t\t\t________________";
cout<<"\n\t\t\t YOU WIN 50,000 ";
cout<<"\n\t\t\t________________";
cout<<"\n\n\n\n\t Press 'N' fot Goto Next Question ";
cout<<"\n\t Press 'M' for Goto Main Menu :";
cin>>chr2;
if (chr2== 'm' || chr2=='M')
goto niit;
else
goto u;
}
else
{
cout<<"\n\n\n\t\t\t SORRY! Wrong Answer ";
cout<<"\n\t The Correct Answer is (B. Khushwant Singh ) "<<endl;
cout<<"\n\t\t\t_____________________";
cout<<"\n\t\t\t YOU WIN 20,000 Only ";
cout<<"\n\t\t\t_____________________";
cout<<"\n\n\n\n\t\t GAME OVER "<<endl;
cout<<"\n\t Press 'T' for Try Again ";
cout<<"\n\t Press 'M' for Goto Main Menu : ";
cin>>chr3;
if(chr3=='m' || chr3=='M')
goto niit;
else
goto part_5;
}
u:
clrscr();
cout<<"\n\t___________________________";
cout<<"\n\tLAST QUESTION for 1,00,000 ";
cout<<"\n\t___________________________";
cout<<"\n\n\t5. Which of the following Indian island lies between" <<"\n\t india and Sri Lanka ? ";
cout<<"\n\n\t A. Elephanta \t\t B. Nicobar ";
cout<<"\n\t C. Rameshwaram \t D. Salsette \t :";
cin>>chr1;
if (chr1 == 'c' || chr1 == 'C')
{
cout<<"\n\tCONGRATULATIONS ";
cout<<"\n\t___________________";
cout<<"\n\n\t\t Your Answer is Correct "<<endl;
cout<<"\t\t\t__________________";
cout<<"\n\t\t\t YOU WIN 1,00,000 ";
cout<<"\n\t\t\t___________________";
cout<<"\n\n\n\t\t GAME OVER "<<endl;
cout<<"\n\t Press 'A' for Play Again ";
cout<<"\n\t Press 'M' for Goto Main Menu : ";
cin>>chr2;
if (chr2== 'm' || chr2=='M')
goto niit;
else
goto part_5;
}
else
{
cout<<"\n\n\t\t\t SORRY! Wrong Answer ";
cout<<"\n\t The Correct Answer is (C. Rameshwaram) "<<endl;
cout<<"\n\t\t\t_____________________";
cout<<"\n\t\t\t YOU WIN 20,000 Only ";
cout<<"\n\t\t\t_____________________";
cout<<"\n\n\n\t\t GAME OVER "<<endl;
cout<<"\n\t Press 'T' to Try Again ";
cout<<"\n\t Press 'M' to Goto Main Menu : ";
cin>>chr3;
if(chr3=='m' || chr3=='M')
goto niit;
else
goto part_5;
}
part_5:
v:
clrscr();
cout<<"\t________________________";
cout<<"\n\t First Question For You "<<endl;
cout<<"\t________________________";
cout<<"\n\n\t1. Who developed the small pox vaccination? ";
cout<<"\n\n\t A. Eduard Jenner \t B. Alexander Fleming ";
cout<<"\n\t C. Albert Einstein \t D. None of these \t :";
cin>>chr1;
if (chr1 == 'a' || chr1 == 'A')
{
cout<<"\n\n\n\t\t Your Answer is Correct "<<endl;
cout<<"\n\t\t\t________________";
cout<<"\n\t\t\t YOU WIN 5,000 ";
cout<<"\n\t\t\t________________";
cout<<"\n\n\n\t Press 'N' for Goto Next Question ";
cout<<"\n\t Press 'M' for Goto Main Menu : ";
cin>>chr2;
if (chr2== 'm' || chr2=='M')
goto niit;
else
goto w;
}
else
{
cout<<"\n\n\n\t\t SORRY! Wrong Answer ";
cout<<"\n\t The Correct Answer is (A. Eduard Jenner) ";
cout<<"\n\t\t\t____________";
cout<<"\n\t\t\t YOU LOSS ";
cout<<"\n\t\t\t____________";
cout<<"\n\n\n\t\t GAME OVER "<<endl;
cout<<"\n\t Press 'T' for Try Again ";
cout<<"\n\t Press 'M' for Goto Main Menu :";
cin>>chr3;
if(chr3=='m' || chr3=='M')
goto niit;
else
goto part_1;
}
w:
clrscr();
cout<<"\n\n\t2. Dhyan Chand was: ";
cout<<"\n\n\t A. A great hockey player "<<endl;
cout<<"\n\t B. Captained he Indian hockey team "<<"\n\t which won a gold medal in 1936 Berlin Olympics "<<endl;
cout<<"\n\t C. Scored 101 goals at the Olympic games"<<"\n\t and 300 goals in the international matches. "<<endl;
cout<<"\n\t D. All the statements are correct \t :";
cin>>chr1;
if (chr1 == 'd' || chr1 == 'D')
{
cout<<"\n\n\t\t Your Answer is Correct "<<endl;
cout<<"\n\t\t\t________________";
cout<<"\n\t\t\t YOU WIN 10,000 ";
cout<<"\n\t\t\t________________";
cout<<"\n\n\n\t Press 'N' for Goto Next Question ";
cout<<"\n\t Press 'M' for Goto Main Menu ";
cin>>chr2;
if (chr2== 'm' || chr2=='M')
goto niit;
else
goto x;
}
else
{
cout<<"\n\t\t SORRY! Wrong Answer ";
cout<<"\n\tThe Correct Answer is (D. All the statements are correct ) ";
cout<<"\n\t\t\t____________";
cout<<"\n\t\t\t YOU LOSS ";
cout<<"\n\t\t\t____________";
cout<<"\n\n\t\t GAME OVER "<<endl;
cout<<"\n\t Press 'T' for Try Again ";
cout<<"\n\t Press 'M' for Goto Main Menu :";
cin>>chr3;
if(chr3=='m' || chr3=='M')
goto niit;
else
goto part_1;
}
x:
clrscr();
cout<<"\n\t3. Euclid was: ";
cout<<"\n\n\t A. Greek mathematician ";
cout<<"\n\n\t B. Contributor to the use of deductive principles "<<"\n\t of logic as the basis of geometry "<<endl;
cout<<"\n\t C. Propounded the geometrical theosems ";
cout<<"\n\n\t D. All the statements are correct \t :";
cin>>chr1;
if (chr1 == 'd' || chr1 == 'D')
{
cout<<"\n\n\t\t Your Answer is Correct "<<endl;
cout<<"\n\t\t\t________________";
cout<<"\n\t\t\t YOU WIN 20,000 ";
cout<<"\n\t\t\t________________";
cout<<"\n\n\n\n\t Press 'N' for Goto Next Question ";
cout<<"\n\t Press 'M' for Goto Main Menu ";
cin>>chr2;
if (chr2== 'm' || chr2=='M')
goto niit;
else
goto y;
}
else
{
cout<<"\n\n\t\t SORRY! Wrong Answer ";
cout<<"\n\tThe Correct Answer is (D. All the statements are correct ) ";
cout<<"\n\t\t\t ____________";
cout<<"\n\t\t\t YOU LOSS ";
cout<<"\n\t\t\t ____________";
cout<<"\n\n\t\t GAME OVER "<<endl;
cout<<"\n\t Press 'T' for Try Again ";
cout<<"\n\t Press 'M' for Goto Main Menu :";
cin>>chr3;
if(chr3=='m' || chr3=='M')
goto niit;
else
goto part_1;
}
y:
clrscr();
cout<<"\n\n\t4. Fa-hien was: ";
cout<<"\n\n\t A. The first Buddhist pilgrim of China to "<<"\n\t visit India during the reign of Chandragupta Vikramaditya ";
cout<<"\n\n\t B. The discover of Puerto Rico and Jamaica ";
cout<<"\n\n\t C. The first Buddhist pilgrim of India to visit China ";
cout<<"\n\n\t D. None of these \t\t\t :";
cin>>chr1;
if (chr1 == 'a' || chr1 == 'A')
{
cout<<"\n\n\t\t Your Answer is Correct "<<endl;
cout<<"\n\t\t\t________________";
cout<<"\n\t\t\t YOU WIN 50,000 ";
cout<<"\n\t\t\t________________";
cout<<"\n\n\n\t Press 'N' for Goto Next Question ";
cout<<"\n\t Press 'M' for Goto Main Menu : ";
cin>>chr2;
if (chr2== 'm' || chr2=='M')
goto niit;
else
goto z;
}
else
{
cout<<"\n\t\t\t SORRY! Wrong Answer ";
cout<<"\n\n\t\t\t The Correct Answer is "<<"\n\t (A. The first Buddhist pilgrim of China to "<<"\n\t visit India during the reign of Chandragupta Vikramaditya ) ";
cout<<"\n\t\t\t _____________________";
cout<<"\n\t\t\t YOU WIN 20,000 Only ";
cout<<"\n\t\t\t _____________________";
cout<<"\n\t\t GAME OVER "<<endl;
cout<<"\t Press 'T' for Try Again ";
cout<<"\n\t Press 'M' for Goto Main Menu : ";
cin>>chr3;
if(chr3=='m' || chr3=='M')
goto niit;
else
goto part_1;
}
z:
clrscr();
cout<<"\n\t___________________________";
cout<<"\n\tLAST QUESTION for 1,00,000 ";
cout<<"\n\t___________________________";
cout<<"\n\t5. Firdausi was: ";
cout<<"\n\n\t A. A person poet ";
cout<<"\n\t B. Well known for his epic ?Sharnama? ";
cout<<"\n\t C. Both are correct \t D. None of these \t :";
cin>>chr1;
if (chr1 == 'c' || chr1 == 'C')
{
cout<<"\n\tCONGRATULATIONS ";
cout<<"\n\t___________________";
cout<<"\n\n\t\t Your Answer is Correct "<<endl;
cout<<"\t\t\t__________________";
cout<<"\n\t\t\t YOU WIN 1,00,000 ";
cout<<"\n\t\t\t__________________";
cout<<"\n\n\n\t\t GAME OVER "<<endl;
cout<<"\n\t Press 'A' for Play Again ";
cout<<"\n\t Press 'M' for Goto Main Menu : ";
cin>>chr2;
if (chr2== 'm' || chr2=='M')
goto niit;
else
goto part_1;
}
else
{
cout<<"\n\n\t\t\t SORRY! Wrong Answer ";
cout<<"\n\t The Correct Answer is (C. Both are correct) ";
cout<<"\n\n\t\t\t_____________________";
cout<<"\n\t\t\t YOU WIN 20,000 Only ";
cout<<"\n\t\t\t_____________________";
cout<<"\n\n\n\t\t GAME OVER "<<endl;
cout<<"\n\t Press 'T' for Try Again ";
cout<<"\n\t Press 'M' for Goto Main Menu : ";
cin>>chr3;
if(chr3=='m' || chr3=='M')
goto niit;
else
goto part_1;
}
case 2:
detail:
clrscr();
cout<<"\n ____________________________________________________________________________";
cout<<"\n\t\t\t\t_____________";
cout<<"\n\t\t\t\tD E T A I L S ";
cout<<"\n\t\t\t\t_____________";
cout<<"\n\n\n\t\tBasic General Knowledge Quiz in Multiple Choice ";
cout<<"\n\n\n\t This is a collection of highly useful multiple choice ";
cout<<"\n\n\t\t\tgeneral knowledge questions ";
cout<<"\n\n\t from history, geography,economy, politics, culture, sports";
cout<<"\n\n\t\t\t and current affairs.";
cout<<"\n\n\t This will help you increase your general awareness ";
cout<<"\n\n ____________________________________________________________________________";
cout<<"\n\n Press 'C' for Reading Continue ";
cout<<"\n Press 'M' for Goto Main Menu :";
cin>>chr1;
if (chr1=='m' || chr1=='M')
goto niit;
else
goto next;
next:
clrscr();
cout<<"\n ____________________________________________________________________________";
cout<<"\n\n\t\t\t\t\tI T ";
cout<<"\n\n\n\t\t\t\t H A S ";
cout<<"\n\n\n\t\t\t D E V E L O P E D ";
cout<<"\n\n\n\t\t\t\t\tB Y ";
cout<<"\n\n\n\t\t\t\t H A S A N ";
cout<<"\n\n\n\t\t\t S O H E R W A R D I ";
cout<<"\n\n ____________________________________________________________________________";
cout<<"\n\n Press 'C' for Reading Continue ";
cout<<"\n Press 'M' for Goto Main Menu :";
cin>>chr2;
if (chr2=='m' || chr2=='M')
goto niit;
else
goto next_2;
next_2:
clrscr();
cout<<" ____________________________________________________________________________";
cout<<"\n\t\t\t ___________________";
cout<<"\n\t\t\t D E D I C A T E D ";
cout<<"\n\t\t\t ___________________ ";
cout<<"\n\n\t\t\t\t T O ";
cout<<"\n\n\t\t\t\t M Y ";
cout<<"\n\n\t\t\t B E L O V E D ";
cout<<"\n\n\t\t\t P A R E N T S ";
cout<<"\n\n\t\t\t B R O T H E R ";
cout<<"\n\n\t\t\t\t A N D ";
cout<<"\n\n\t\t\t\t C U T E ";
cout<<"\n\n\t\t\t S I S T E R ";
cout<<"\n ____________________________________________________________________________";
cout<<"\n\n Press 'B' for Back to Details ";
cout<<"\n Press 'M' for Goto Main Menu :";
cin>>chr3;
if (chr3=='m' || chr3=='M')
goto niit;
else
goto detail;
case 3:
next_help_1:
{
clrscr();
cout<<" _____________________________________________________________________________";
cout<<"\n\t\t There are only Five Question in this Game ";
cout<<"\n\n\n\t\t These Questions are in Multiple Choice ";
cout<<"\n\n\n\t\t\t 1st Question for 5,000 ";
cout<<"\n\n\n\t\t\t 2nd Question for 10,000 ";
cout<<"\n\n\n\t\t\t 3rd Question for [20,000] ";
cout<<"\n\n\n\t\t\t 4th Question for 50,000 ";
cout<<"\n\n\n\t\t\t5th & last Question for 1,00,000 ";
cout<<"\n _____________________________________________________________________________";
cout<<"\n\n Press 'C' for Reading Continue ";
cout<<"\n Press 'M' for Goto Main Menu : ";
cin>>chr1;
if (chr1=='m' || chr1=='M')
goto niit;
else
goto next_help_2;
}
next_help_2:
{
clrscr();
cout<<"\n ______________________________________________________________________________";
cout<<"\n\n\n\t\t\t Method of Playing the Game ";
cout<<"\n\t\t\t_______________________________";
cout<<"\n\n\n\t\tIf you are select play Game option from Main Menu ";
cout<<"\n\n\n\tImmediately system will display First Question on your screen ";
cout<<"\n\n\n\tthen you select & choose one option from multiple choice section ";
cout<<"\n\n\n\t\t and press selected option key from key board ";
cout<<"\n\n\n _____________________________________________________________________________";
cout<<"\n\n Press 'C' for Reading Continue ";
cout<<"\n Press 'M' for Goto Main Menu : ";
cin>>chr1;
if (chr1=='m' || chr1=='M')
goto niit;
else
goto next_help_3;
}
next_help_3:
{
clrscr();
cout<<" _____________________________________________________________________________";
cout<<"\n\n\t\t\t\t For Exampl ";
cout<<"\n\t\t\t\t_____________";
cout<<"\n\t______________________________";
cout<<"\n\t First Question For You "<<endl;
cout<<"\t______________________________";
cout<<"\n\t1. The language with the richest vocabulary is ? ";
cout<<"\n\n\t A. Hindi \t B. French ";
cout<<"\n\t C. English \t D. German \t :" ;
cout<<"\n\n\n\t\t The answer of this Question is (c. Eglish) ";
cout<<"\n\n\n\t\t\tthen you press just 'C' only ";
cout<<"\n\n\n\t\t so lets play and enjoy this SMART QUIZ Game ";
cout<<"\n _____________________________________________________________________________";
cout<<"\n\n Press 'C' for Reading Continue ";
cout<<"\n Press 'M' for Goto Main Menu : ";
cin>>chr1;
if (chr1=='m' || chr1=='M')
goto niit;
else
goto next_help_4;
}
next_help_4:
{
clrscr();
cout<<"\n\n _____________________________________________________________________________";
cout<<"\n\n\t\t\t\t _________";
cout<<"\n\t\t\t\t NOTE ";
cout<<"\n\t\t\t\t _________";
cout<<"\n\n\n\t (if you are giving incorrect Answer of any one Question ";
cout<<"\n\n\n\t\t\t then the Game is over ";
cout<<"\n\n\n afterwords if you are select try again option then the game will restart) ";
cout<<"\n\n\n _____________________________________________________________________________";
cout<<"\n\n\n\n Press 'B' for Back to Help Menu ";
cout<<"\n Press 'M' for Goto Main Menu : ";
cin>>chr1;
if (chr1=='m' || chr1=='M')
goto niit;
else
goto next_help_1;
}
case 4:
cout<<"\n\n\t\t\tAre You Sure to Exit? (y/n) :";
cin>>chr4;
if (chr4=='n' || chr4=='N')
goto niit;
break;
default:
cout<<"\n\t\t\t invalid your choice ";
cout<<"\n\t\t\t Do You Want to Continue (y/n) :";
cin>>chr2;
if (chr2 == 'y' || chr2 == 'Y')
goto niit;
if (chr2=='n' || chr2=='N')
cout<<"\n\t\t\t Are You Sure to Exit (y/n) :";
cin>>chr3;
if (chr3=='n' || chr3=='N')
goto niit;
break;
}
getch();
}
#include<conio.h>
main()
{
clrscr();
char chr1,chr2,chr3,chr4;
int choice;
niit:
clrscr();
cout<<"\n\t\t\t\t SMART QUIZ ";
cout<<"\n\t\t\t\t_____________"<<endl;
cout<<"\n\t\t\t ______________________"<<endl;
cout<<"\t\t\t | | | ";
cout<<"\n\t\t\t |slN | Main Menu |"<<endl;
/*cout<<"\t\t\t | | | ";*/
cout<<"\t\t\t |____|_________________|"<<endl;
cout<<"\t\t\t | | | ";
cout<<"\n\t\t\t | 1- | Play Game |"<<endl;
cout<<"\t\t\t | | | ";
cout<<"\n\t\t\t | 2- | Details |"<<endl;
cout<<"\t\t\t | | | ";
cout<<"\n\t\t\t | 3- | Help |"<<endl;
cout<<"\t\t\t | | | ";
cout<<"\n\t\t\t | 4- | Quit |"<<endl;
cout<<"\t\t\t | | | ";
cout<<"\n\t\t\t |____|_________________|" <<endl;
cout<<"\n\t\t Enter Your Choice in (1 to 4)...... :";
cin>>choice;
switch(choice)
{
case 1:
part_1:
a:
clrscr();
cout<<"\t______________________________";
cout<<"\n\t First Question For You "<<endl;
cout<<"\t______________________________";
cout<<"\n\n\t1. How many languages and are spoken by"<<"\n\t people all over the World?";
cout<<"\n\n\t A. 6,000 \t B. 9,000 ";
cout<<"\n\t C. 4,000 \t D. 1,000 \t :";
cin>>chr1;
if (chr1 == 'b' || chr1 == 'B')
{
cout<<"\n\n\n\t\t Your Answer is Correct "<<endl;
cout<<"\n\t\t\t________________";
cout<<"\n\t\t\t YOU WIN 5,000 ";
cout<<"\n\t\t\t________________";
cout<<"\n\n\n\n\t Press 'N' for Goto Next Question ";
cout<<"\n\t Press 'M' for Goto Main Menu :";
cin>>chr2;
if (chr2== 'm' || chr2=='M')
goto niit;
else
goto b;
}
else
{
cout<<"\n\n\n\t\t SORRY! Wrong Answer ";
cout<<"\n\t The Correct Answer is (B. 9,000) ";
cout<<"\n\t\t\t____________";
cout<<"\n\t\t\t YOU LOSS ";
cout<<"\n\t\t\t____________";
cout<<"\n\n\n\n\t\t GAME OVER "<<endl;
cout<<"\n\t Press 'T' for Try Again ";
cout<<"\n\t Press 'M' for Goto Main Menu :";
cin>>chr3;
if(chr3=='m' || chr3=='M')
goto niit;
else
goto part_2;
}
b:
clrscr();
cout<<"\n\t2. Approximately, how many people speak"<<"\n\t Chinese language?";
cout<<"\n\n\t A. 1 billion \t B. 1 million ";
cout<<"\n\t C. 1 lakh \t D. 1 thousend \t :";
cin>>chr1;
if (chr1 == 'a' || chr1 == 'A')
{
cout<<"\n\n\n\t\t Your Answer is Correct "<<endl;
cout<<"\n\t\t\t________________";
cout<<"\n\t\t\t YOU WIN 10,000 ";
cout<<"\n\t\t\t________________";
cout<<"\n\n\n\n\t Press 'N' for Goto Next Question ";
cout<<"\n\t Press 'M' for Goto Main Menu : ";
cin>>chr2;
if (chr2=='m' || chr2=='M')
goto niit;
else
goto c;
}
else
{
cout<<"\n\n\n\t\t SORRY! Wrong Answer ";
cout<<"\n\t The Correct Answer is (A. 1 billion) ";
cout<<"\n\t\t\t____________";
cout<<"\n\t\t\t YOU LOSS ";
cout<<"\n\t\t\t____________";
cout<<"\n\n\n\n\t\t GAME OVER "<<endl;
cout<<"\n\t Press 'T' for Try Again ";
cout<<"\n\t Press 'M' for Goto Main Menu :";
cin>>chr3;
if(chr3=='m' || chr3=='M')
goto niit;
else
goto part_2;
}
c:
clrscr();
cout<<"\n\t3. The language with the richest vocabulary is ? ";
cout<<"\n\n\t A. Hindi \t B. French ";
cout<<"\n\t C. English \t D. German \t :";
cin>>chr1;
if (chr1 == 'c' || chr1 == 'C')
{
cout<<"\n\n\n\t\t Your Answer is Correct "<<endl;
cout<<"\n\t\t\t________________";
cout<<"\n\t\t\t YOU WIN 20,000 ";
cout<<"\n\t\t\t________________";
cout<<"\n\n\n\n\t Press 'N' for Goto Next Question ";
cout<<"\n\t Press 'M' for Goto Main Menu ";
cin>>chr2;
if (chr2== 'm' || chr2=='M')
goto niit;
else
goto d;
}
else
{
cout<<"\n\n\n\t\t SORRY! Wrong Answer ";
cout<<"\n\t The Correct Answer is (C. English) ";
cout<<"\n\t\t\t____________";
cout<<"\n\t\t\t YOU LOSS ";
cout<<"\n\t\t\t____________";
cout<<"\n\n\n\n\t\t GAME OVER "<<endl;
cout<<"\n\t Press 'T' for Try Again ";
cout<<"\n\t Press 'M' for Goto Main Menu :";
cin>>chr3;
if(chr3=='m' || chr3=='M')
goto niit;
else
goto part_2;
}
d:
clrscr();
cout<<"\n\t4. English Language have more than ?? words ";
cout<<"\n\n\t A. 4,50,000 \t B. 45,000 ";
cout<<"\n\t C. 4,500 \t D. 450 \t :";
cin>>chr1;
if (chr1 == 'a' || chr1 == 'A')
{
cout<<"\n\n\n\t\t Your Answer is Correct "<<endl;
cout<<"\n\t\t\t________________";
cout<<"\n\t\t\t YOU WIN 50,000 ";
cout<<"\n\t\t\t________________";
cout<<"\n\n\n\n\t Press 'N' for Goto Next Question ";
cout<<"\n\t Press 'M' for Goto Main Menu :";
cin>>chr2;
if (chr2== 'm' || chr2=='M')
goto niit;
else
goto e;
}
else
{
cout<<"\n\n\n\t\t SORRY! Wrong Answer ";
cout<<"\n\t The Correct Answer is (A. 4,50,000) ";
cout<<"\n\t\t\t_____________________";
cout<<"\n\t\t\t YOU WIN 20,000 Only ";
cout<<"\n\t\t\t_____________________";
cout<<"\n\n\n\n\t\t GAME OVER "<<endl;
cout<<"\n\t Press 'T' for Try Again ";
cout<<"\n\t Press 'M' for Goto Main Menu :";
cin>>chr3;
if(chr3=='m' || chr3=='M')
goto niit;
else
goto part_2;
}
e:
clrscr();
cout<<"\n\t___________________________";
cout<<"\n\tLAST QUESTION for 1,00,000 ";
cout<<"\n\t___________________________";
cout<<"\n\n\t5. The oldest Indian language is ";
cout<<"\n\n\t A. Telugu \t B. Hindu ";
cout<<"\n\t C. Tamil \t D. Punjabi \t:";
cin>>chr1;
if (chr1 == 'c' || chr1 == 'C')
{
cout<<"\n\n\tCONGRATULATIONS ";
cout<<"\n\t___________________";
cout<<"\n\n\t\t Your Answer is Correct ";
cout<<"\n\t\t\t___________________";
cout<<"\n\t\t\t YOU WIN 1,00,000 ";
cout<<"\n\t\t\t___________________";
cout<<"\n\n\n\t\t GAME OVER "<<endl;
cout<<"\n\t Press 'A' for Play Again ";
cout<<"\n\t Press 'M' for Goto Main Menu :";
cin>>chr2;
if (chr2== 'm' || chr2=='M')
goto niit;
else
goto part_2;
}
else
{
cout<<"\n\n\n\t\t SORRY! Wrong Answer ";
cout<<"\n\t The Correct Answer is (C. Telugu) ";
cout<<"\n\t\t\t_____________________";
cout<<"\n\t\t\t YOU WIN 20,000 Only ";
cout<<"\n\t\t\t_____________________";
cout<<"\n\n\n\n\t\t GAME OVER "<<endl;
cout<<"\n\t Press 'T' for Try Again ";
cout<<"\n\t Press 'M' for Goto Main Menu : ";
cin>>chr3;
if(chr3=='m' || chr3=='M')
goto niit;
else
goto part_2;
}
part_2:
f:
clrscr(); cout<<"\t__________________________";
cout<<"\n\t Firt Question For You "<<endl;
cout<<"\t__________________________";
cout<<"\n\n\t 1. Which book has been printed in the maximum number of"<<"\n\t languages and these scripts? ";
cout<<"\n\n\t A. The Bible \t B. Hiraka Sutra ";
cout<<"\n\t C. The Super Book \tD. None of these \t :";
cin>>chr1;
if (chr1 == 'a' || chr1 == 'A')
{
cout<<"\n\n\n\t\t Your Answer is Correct "<<endl;
cout<<"\n\t\t\t________________";
cout<<"\n\t\t\t YOU WIN 5,000 ";
cout<<"\n\t\t\t________________";
cout<<"\n\n\n\n\t Press 'N' for Goto Next Question ";
cout<<"\n\t Press 'M' for Goto Main Menu : ";
cin>>chr2;
if (chr2== 'm' || chr2=='M')
goto niit;
else
goto g;
}
else
{
cout<<"\n\n\n\t\t SORRY! Wrong Answer ";
cout<<"\n\t The Correct Answer is (A. The Bible) ";
cout<<"\n\t\t\t____________";
cout<<"\n\t\t\t YOU LOSS ";
cout<<"\n\t\t\t____________";
cout<<"\n\n\n\n\t\t GAME OVER "<<endl;
cout<<"\n\t Press 'T' for Try Again ";
cout<<"\n\t Press 'M' for Goto Main Menu :";
cin>>chr3;
if(chr3=='m' || chr3=='M')
goto niit;
else
goto part_3;
}
g:
clrscr();
cout<<"\n\t2. The only religious book ever printed in a shorthand scripts is ?";
cout<<"\n\n\t A. The Ramayana \t B. The Mahabharata ";
cout<<"\n\t C. The bible \t\t D. Guru Granth Sahib \t :";
cin>>chr1;
if (chr1 == 'c' || chr1 == 'C')
{
cout<<"\n\n\n\t\t Your Answer is Correct "<<endl;
cout<<"\n\t\t\t________________";
cout<<"\n\t\t\t YOU WIN 10,000 ";
cout<<"\n\t\t\t________________";
cout<<"\n\n\n\n\t Press 'N' for Goto Next Question ";
cout<<"\n\t Press 'M' for Goto Main Menu : ";
cin>>chr2;
if (chr2== 'm' || chr2=='M')
goto niit;
else
goto h;
}
else
{
cout<<"\n\n\n\t\t SORRY! Wrong Answer ";
cout<<"\n\t The Correct Answer is (C. The bible) ";
cout<<"\n\t\t\t____________";
cout<<"\n\t\t\t YOU LOSS ";
cout<<"\n\t\t\t____________";
cout<<"\n\n\n\n\t\t GAME OVER "<<endl;
cout<<"\n\t Press 'T' for Try Again ";
cout<<"\n\t Press 'M' for Goto Main Menu :";
cin>>chr3;
if(chr3=='m' || chr3=='M')
goto niit;
else
goto part_3;
}
h:
clrscr();
cout<<"\n\t3. Badminton is the national sport at : " ;
cout<<"\n\n\t A. Malaysia \t\t B. Scotland ";
cout<<"\n\t C. China \t\t D. Former soviet Union \t:";
cin>>chr1;
if (chr1 == 'a' || chr1 == 'A')
{
cout<<"\n\n\n\t\t Your Answer is Correct "<<endl;
cout<<"\n\t\t\t________________";
cout<<"\n\t\t\t YOU WIN 20,000 ";
cout<<"\n\t\t\t________________";
cout<<"\n\n\n\n\t Press 'N' for Goto Next Question ";
cout<<"\n\t Press 'M' for Goto Main Menu : ";
cin>>chr2;
if (chr2== 'm' || chr2=='M')
goto niit;
else
goto i;
}
else
{
cout<<"\n\n\n\t\t\tSORRY! Wrong Answer ";
cout<<"\n\t\tThe Correct Answer is (A. Malaysia) ";
cout<<"\n\t\t\t ____________";
cout<<"\n\t\t\t YOU LOSS ";
cout<<"\n\t\t\t ____________";
cout<<"\n\n\n\n\t\t GAME OVER "<<endl;
cout<<"\n\t Press 'T' for Try Again ";
cout<<"\n\t Press 'M' for Goto Main Menu :";
cin>>chr3;
if(chr3=='m' || chr3=='M')
goto niit;
else
goto part_3;
}
i:
clrscr();
cout<<"\n\t4. The largest book, the super book, is ?? and weight is ?? ";
cout<<"\n\n\t A. 270 cm, 300 cm, 252 kg. \t B. 100 cm, 110 cm, 100 kg. ";
cout<<"\n\t C. 200 cm, 100 cm, 60 kg. \t D. None of these \t:";
cin>>chr1;
if (chr1 == 'a' || chr1 == 'A')
{
cout<<"\n\n\n\t\t Your Answer is Correct "<<endl;
cout<<"\n\t\t\t________________";
cout<<"\n\t\t\t YOU WIN 50,000 ";
cout<<"\n\t\t\t________________";
cout<<"\n\n\n\n\t Press 'N' for Goto Next Question ";
cout<<"\n\t Press 'M' for Goto Main Menu : ";
cin>>chr2;
if (chr2== 'm' || chr2=='M')
goto niit;
else
goto k;
}
else
{
cout<<"\n\n\n\t\t\tSORRY! Wrong Answer ";
cout<<"\n\tThe Correct Answer is (A. 270 cm, 300 cm, 252 kg. ) "<<endl;
cout<<"\n\t\t\t_____________________";
cout<<"\n\t\t\t YOU WIN 20,000 Only";
cout<<"\n\t\t\t_____________________";
cout<<"\n\n\n\t\t GAME OVER "<<endl;
cout<<"\n\t Press 'T' for Try Again ";
cout<<"\n\t Press 'M' for Goto Main Menu : ";
cin>>chr3;
if(chr3=='m' || chr3=='M')
goto niit;
else
goto part_3;
}
k:
clrscr();
cout<<"\n\t___________________________";
cout<<"\n\tLAST QUESTION for 1,00,000 ";
cout<<"\n\t___________________________";
cout<<"\n\n\t5. Les Hommes de bonne volonté is the ";
cout<<"\n\n\t A. Longest novel ever published "<<"\n\t B. Shortest novel every published ";
cout<<"\n\t C. The oldest novel "<<"\n\t D. None of these \t\t :";
cin>>chr1;
if (chr1 == 'a' || chr1 == 'A')
{
cout<<"\n\tCONGRATULATIONS ";
cout<<"\n\t___________________";
cout<<"\n\n\t\t Your Answer is Correct ";
cout<<"\n\t\t\t___________________";
cout<<"\n\t\t\t YOU WIN 1,00,000 ";
cout<<"\n\t\t\t___________________";
cout<<"\n\n\t\t GAME OVER "<<endl;
cout<<"\n\t Press 'A' for Play Again ";
cout<<"\n\t Press 'M' for Goto Main Menu :";
cin>>chr2;
if (chr2== 'm' || chr2=='M')
goto niit;
else
goto part_3;
}
else
{
cout<<"\n\n\t\t\t SORRY! Wrong Answer ";
cout<<"\n\tThe Correct Answer is (A. Longest novel ever published ) "<<endl;
cout<<"\n\t\t\t_____________________";
cout<<"\n\t\t\t YOU WIN 20,000 Only ";
cout<<"\n\t\t\t_____________________";
cout<<"\n\n\t\t GAME OVER "<<endl;
cout<<"\n\t Press 'T' for Try Again ";
cout<<"\n\t Press 'M' for Goto Main Menu : ";
cin>>chr3;
if(chr3=='m' || chr3=='M')
goto niit;
else
goto part_3;
}
part_3:
l:
clrscr();
cout<<"\t______________________________";
cout<<"\n\t First Question For You "<<endl;
cout<<"\t______________________________";
cout<<"\n\n\t1. The city of the Jaunpur was founded by ? ";
cout<<"\n\n\t A. Muhammad Tughlaq \t\t B. Firoz shah Tughlaq ";
cout<<"\n\t C. Ibrahim shah shargi \t D. Sikandar Lodi \t:";
cin>>chr1;
if (chr1 == 'b' || chr1 == 'B')
{
cout<<"\n\n\n\t\t Your Answer is Correct "<<endl;
cout<<"\n\t\t\t________________";
cout<<"\n\t\t\t YOU WIN 5,000 ";
cout<<"\n\t\t\t________________";
cout<<"\n\n\n\n\t Press 'N' for Goto Next Question ";
cout<<"\n\t Press 'M' for Goto Main Menu : ";
cin>>chr2;
if (chr2== 'm' || chr2=='M')
goto niit;
else
goto m;
}
else
{
cout<<"\n\n\n\t\t SORRY! Wrong Answer ";
cout<<"\n\t The Correct Answer is (B. Firoz shah tughlaq) ";
cout<<"\n\t\t\t____________";
cout<<"\n\t\t\t YOU LOSS ";
cout<<"\n\t\t\t____________";
cout<<"\n\n\n\n\t\t GAME OVER "<<endl;
cout<<"\n\t Press 'T' for Try Again ";
cout<<"\n\t Press 'M' for Goto Main Menu :";
cin>>chr3;
if(chr3=='m' || chr3=='M')
goto niit;
else
goto part_4;
}
m:
clrscr();
cout<<"\n\t2. Which Rashtrakut King defeated the pratihar ruler Nagabhatta I ? ";
cout<<"\n\n\t A. India 2nd \t\t B. Krishna 3rd ";
cout<<"\n\t C. Amoghvarsha 1st \t D. Govind 3rd \t :";
cin>>chr1;
if (chr1 == 'd' || chr1 == 'D')
{
cout<<"\n\n\n\t\t Your Answer is Correct "<<endl;
cout<<"\n\t\t\t________________";
cout<<"\n\t\t\t YOU WIN 10,000 ";
cout<<"\n\t\t\t________________";
cout<<"\n\n\n\n\t Press 'N' for Goto Next Question ";
cout<<"\n\t Press 'M' for Goto Main Menu :";
cin>>chr2;
if (chr2== 'm' || chr2=='M')
goto niit;
else
goto n;
}
else
{
cout<<"\n\n\n\t\t SORRY! Wrong Answer ";
cout<<"\n\t The Correct Answer is (D. Govind 3rd) ";
cout<<"\n\t\t\t____________";
cout<<"\n\t\t\t YOU LOSS ";
cout<<"\n\t\t\t____________";
cout<<"\n\n\n\n\t\t GAME OVER "<<endl;
cout<<"\n\t Press 'T' for Try Again ";
cout<<"\n\t Press 'M' for Goto Main Menu :";
cin>>chr3;
if(chr3=='m' || chr3=='M')
goto niit;
else
goto part_4;
}
n:
clrscr();
cout<<"\n\t3. The book ?Satyartha Prakash? was written by ";
cout<<"\n\n\t A. Swami Dayanand \t B. Swami Vivekanand ";
cout<<"\n\t C. Sarojini Naidu \t D. Kalidas \t :";
cin>>chr1;
if (chr1 == 'a' || chr1 == 'A')
{
cout<<"\n\n\n\t\t Your Answer is Correct "<<endl;
cout<<"\n\t\t\t________________";
cout<<"\n\t\t\t YOU WIN 20,000 ";
cout<<"\n\t\t\t________________";
cout<<"\n\n\n\n\t Press 'N' for Goto Next Question ";
cout<<"\n\t Press 'M' for Goto Main Menu : ";
cin>>chr2;
if (chr2== 'm' || chr2=='M')
goto niit;
else
goto o;
}
else
{
cout<<"\n\n\n\t\t SORRY! Wrong Answer ";
cout<<"\n\t The Correct Answer is (A. Swami Dayanand) ";
cout<<"\n\t\t\t____________";
cout<<"\n\t\t\t YOU LOSS ";
cout<<"\n\t\t\t____________";
cout<<"\n\n\n\n\t\t GAME OVER "<<endl;
cout<<"\n\t Press 'T' for Try Again ";
cout<<"\n\t Press 'M' for Goto Main Menu :";
cin>>chr3;
if(chr3=='m' || chr3=='M')
goto niit;
else
goto part_4;
}
o:
clrscr();
cout<<"\n\t4. In UP Which of following tribes has highest population ? ";
cout<<"\n\n\t A. Saharia \t\t B. Tharu ";
cout<<"\n\t C. Agaria \t\t D. Mahigir \t :";
cin>>chr1;
if (chr1 == 'b' || chr1 == 'B')
{
cout<<"\n\n\n\t\t Your Answer is Correct "<<endl;
cout<<"\n\t\t\t________________";
cout<<"\n\t\t\t YOU WIN 50,000 ";
cout<<"\n\t\t\t________________";
cout<<"\n\n\n\n\t Press 'N' for Goto Next Question ";
cout<<"\n\t Press 'M' for Goto Main Menu : ";
cin>>chr2;
if (chr2== 'm' || chr2=='M')
goto niit;
else
goto p;
}
else
{
cout<<"\n\n\n\t\t\t SORRY! Wrong Answer ";
cout<<"\n\t\t The Correct Answer is (B. Tharu) "<<endl;
cout<<"\n\t\t\t_____________________";
cout<<"\n\t\t\t YOU WIN 20,000 Only ";
cout<<"\n\t\t\t_____________________";
cout<<"\n\n\n\n\t\t GAME OVER "<<endl;
cout<<"\n\t Press 'T' for Try Again ";
cout<<"\n\t Press 'M' for Goto Main Menu : ";
cin>>chr3;
if(chr3=='m' || chr3=='M')
goto niit;
else
goto part_4;
}
p:
clrscr();
cout<<"\n\t___________________________";
cout<<"\n\tLAST QUESTION for 1,00,000 ";
cout<<"\n\t___________________________";
cout<<"\n\n\t5. Which of the following is the author of ?Song of India, The?: ";
cout<<"\n\n\t A. Firdausi \t\t B. Sarojini Naidu ";
cout<<"\n\t C. Lala Lajpat Rai \t D. Sri Aurobindo Ghosh \t :";
cin>>chr1;
if (chr1 == 'b' || chr1 == 'B')
{
cout<<"\n\tCONGRATULATIONS ";
cout<<"\n\t___________________";
cout<<"\n\n\t\t Your Answer is Correct "<<endl;
cout<<"\t\t\t__________________";
cout<<"\n\t\t\t YOU WIN 1,00,000 ";
cout<<"\n\t\t\t__________________";
cout<<"\n\n\n\t\t GAME OVER "<<endl;
cout<<"\n\t Press 'A' for Play Again ";
cout<<"\n\t Press 'M' for Goto Main Menu : ";
cin>>chr2;
if (chr2== 'm' || chr2=='M')
goto niit;
else
goto part_4;
}
else
{
cout<<"\n\n\t\t\t SORRY! Wrong Answer ";
cout<<"\n\t\tThe Correct Answer is (B. Sarojini Naidu) "<<endl;
cout<<"\n\t\t\t_____________________";
cout<<"\n\t\t\t YOU WIN 20,000 Only ";
cout<<"\n\t\t\t_____________________";
cout<<"\n\n\n\t\t GAME OVER "<<endl;
cout<<"\n\t Press 'T' for Try Again ";
cout<<"\n\t Press 'M' for Goto Main Menu : ";
cin>>chr3;
if(chr3=='m' || chr3=='M')
goto niit;
else
goto part_4;
}
part_4:
q:
clrscr();
cout<<"\t______________________________";
cout<<"\n\t First Question For You "<<endl;
cout<<"\t______________________________";
cout<<"\n\n\t1. The author of the book ?Time machine? is: ";
cout<<"\n\n\t A. Lewis Carroll \t B. Robert Louis Stevenson ";
cout<<"\n\t C. Charles Lamb \t D. H.G. Wells \t :";
cin>>chr1;
if (chr1 == 'd' || chr1 == 'D')
{
cout<<"\n\n\n\t\t Your Answer is Correct "<<endl;
cout<<"\n\t\t\t________________";
cout<<"\n\t\t\t YOU WIN 5,000 ";
cout<<"\n\t\t\t________________";
cout<<"\n\n\n\n\t Press 'N' for Goto Next Question ";
cout<<"\n\t Press 'M' for Goto Main Menu : ";
cin>>chr2;
if (chr2== 'm' || chr2=='M')
goto niit;
else
goto r;
}
else
{
cout<<"\n\n\n\t\t SORRY! Wrong Answer ";
cout<<"\n\t The Correct Answer is (D. H.G. Wells) ";
cout<<"\n\t\t\t____________";
cout<<"\n\t\t\t YOU LOSS ";
cout<<"\n\t\t\t____________";
cout<<"\n\n\n\n\t\t GAME OVER "<<endl;
cout<<"\n\t Press 'T' for Try Again ";
cout<<"\n\t Press 'M' for Goto Main Menu :";
cin>>chr3;
if(chr3=='m' || chr3=='M')
goto niit;
else
goto part_5;
}
r:
clrscr();
cout<<"\n\t2. Who discovered Australia ? ";
cout<<"\n\n\t A. Eric the Red \t B. Leif Ericsson ";
cout<<"\n\t C. William Janszoom \t D. None of these \t :";
cin>>chr1;
if (chr1 == 'c' || chr1 == 'C')
{
cout<<"\n\n\n\t\t Your Answer is Correct "<<endl;
cout<<"\n\t\t\t________________";
cout<<"\n\t\t\t YOU WIN 10,000 ";
cout<<"\n\t\t\t________________";
cout<<"\n\n\n\n\t Press 'N' for Goto Next Question ";
cout<<"\n\t Press 'M' for Goto Main Menu : ";
cin>>chr2;
if (chr2== 'm' || chr2=='M')
goto niit;
else
goto s;
}
else
{
cout<<"\n\n\n\t\t SORRY! Wrong Answer ";
cout<<"\n\t The Correct Answer is (C. William Janszoom) ";
cout<<"\n\t\t\t____________";
cout<<"\n\t\t\t YOU LOSS ";
cout<<"\n\t\t\t____________";
cout<<"\n\n\n\n\t\t GAME OVER "<<endl;
cout<<"\n\t Press 'T' for Try Again ";
cout<<"\n\t Press 'M' for Goto Main Menu :";
cin>>chr3;
if(chr3=='m' || chr3=='M')
goto niit;
else
goto part_5;
}
s:
clrscr();
cout<<"\n\t3. Who located the magnetic pole? ";
cout<<"\n\n\t A. Sir James Clark \t B. Rear Admiral ";
cout<<"\n\t C. Sir John Ross \t D. All the above \t :";
cin>>chr1;
if (chr1 == 'd' || chr1 == 'D')
{
cout<<"\n\n\n\t\t Your Answer is Correct "<<endl;
cout<<"\n\t\t\t________________";
cout<<"\n\t\t\t YOU WIN 20,000 ";
cout<<"\n\t\t\t________________";
cout<<"\n\n\n\n\t Press 'N' for Goto Next Question ";
cout<<"\n\t Press 'M' for Goto Main Menu :";
cin>>chr2;
if (chr2== 'm' || chr2=='M')
goto niit;
else
goto t;
}
else
{
cout<<"\n\n\n\t\t SORRY! Wrong Answer ";
cout<<"\n\t The Correct Answer is (D. All the above) ";
cout<<"\n\t\t\t____________";
cout<<"\n\t\t\t YOU LOSS ";
cout<<"\n\t\t\t____________";
cout<<"\n\n\n\n\t\t GAME OVER "<<endl;
cout<<"\n\t Press 'T' for Try Again ";
cout<<"\n\t Press 'M' for Goto Main Menu :";
cin>>chr3;
if(chr3=='m' || chr3=='M')
goto niit;
else
goto part_5;
}
t:
clrscr();
cout<<"\n\t4. The book ?We Indians? was written by: ";
cout<<"\n\n\t A. H.G. Wells \t\t B. Khushwant Singh ";
cout<<"\n\t C. James Jeans \t D. Thomas Moore \t :";
cin>>chr1;
if (chr1 == 'b' || chr1 == 'B')
{
cout<<"\n\n\n\t\t Your Answer is Correct "<<endl;
cout<<"\n\t\t\t________________";
cout<<"\n\t\t\t YOU WIN 50,000 ";
cout<<"\n\t\t\t________________";
cout<<"\n\n\n\n\t Press 'N' fot Goto Next Question ";
cout<<"\n\t Press 'M' for Goto Main Menu :";
cin>>chr2;
if (chr2== 'm' || chr2=='M')
goto niit;
else
goto u;
}
else
{
cout<<"\n\n\n\t\t\t SORRY! Wrong Answer ";
cout<<"\n\t The Correct Answer is (B. Khushwant Singh ) "<<endl;
cout<<"\n\t\t\t_____________________";
cout<<"\n\t\t\t YOU WIN 20,000 Only ";
cout<<"\n\t\t\t_____________________";
cout<<"\n\n\n\n\t\t GAME OVER "<<endl;
cout<<"\n\t Press 'T' for Try Again ";
cout<<"\n\t Press 'M' for Goto Main Menu : ";
cin>>chr3;
if(chr3=='m' || chr3=='M')
goto niit;
else
goto part_5;
}
u:
clrscr();
cout<<"\n\t___________________________";
cout<<"\n\tLAST QUESTION for 1,00,000 ";
cout<<"\n\t___________________________";
cout<<"\n\n\t5. Which of the following Indian island lies between" <<"\n\t india and Sri Lanka ? ";
cout<<"\n\n\t A. Elephanta \t\t B. Nicobar ";
cout<<"\n\t C. Rameshwaram \t D. Salsette \t :";
cin>>chr1;
if (chr1 == 'c' || chr1 == 'C')
{
cout<<"\n\tCONGRATULATIONS ";
cout<<"\n\t___________________";
cout<<"\n\n\t\t Your Answer is Correct "<<endl;
cout<<"\t\t\t__________________";
cout<<"\n\t\t\t YOU WIN 1,00,000 ";
cout<<"\n\t\t\t___________________";
cout<<"\n\n\n\t\t GAME OVER "<<endl;
cout<<"\n\t Press 'A' for Play Again ";
cout<<"\n\t Press 'M' for Goto Main Menu : ";
cin>>chr2;
if (chr2== 'm' || chr2=='M')
goto niit;
else
goto part_5;
}
else
{
cout<<"\n\n\t\t\t SORRY! Wrong Answer ";
cout<<"\n\t The Correct Answer is (C. Rameshwaram) "<<endl;
cout<<"\n\t\t\t_____________________";
cout<<"\n\t\t\t YOU WIN 20,000 Only ";
cout<<"\n\t\t\t_____________________";
cout<<"\n\n\n\t\t GAME OVER "<<endl;
cout<<"\n\t Press 'T' to Try Again ";
cout<<"\n\t Press 'M' to Goto Main Menu : ";
cin>>chr3;
if(chr3=='m' || chr3=='M')
goto niit;
else
goto part_5;
}
part_5:
v:
clrscr();
cout<<"\t________________________";
cout<<"\n\t First Question For You "<<endl;
cout<<"\t________________________";
cout<<"\n\n\t1. Who developed the small pox vaccination? ";
cout<<"\n\n\t A. Eduard Jenner \t B. Alexander Fleming ";
cout<<"\n\t C. Albert Einstein \t D. None of these \t :";
cin>>chr1;
if (chr1 == 'a' || chr1 == 'A')
{
cout<<"\n\n\n\t\t Your Answer is Correct "<<endl;
cout<<"\n\t\t\t________________";
cout<<"\n\t\t\t YOU WIN 5,000 ";
cout<<"\n\t\t\t________________";
cout<<"\n\n\n\t Press 'N' for Goto Next Question ";
cout<<"\n\t Press 'M' for Goto Main Menu : ";
cin>>chr2;
if (chr2== 'm' || chr2=='M')
goto niit;
else
goto w;
}
else
{
cout<<"\n\n\n\t\t SORRY! Wrong Answer ";
cout<<"\n\t The Correct Answer is (A. Eduard Jenner) ";
cout<<"\n\t\t\t____________";
cout<<"\n\t\t\t YOU LOSS ";
cout<<"\n\t\t\t____________";
cout<<"\n\n\n\t\t GAME OVER "<<endl;
cout<<"\n\t Press 'T' for Try Again ";
cout<<"\n\t Press 'M' for Goto Main Menu :";
cin>>chr3;
if(chr3=='m' || chr3=='M')
goto niit;
else
goto part_1;
}
w:
clrscr();
cout<<"\n\n\t2. Dhyan Chand was: ";
cout<<"\n\n\t A. A great hockey player "<<endl;
cout<<"\n\t B. Captained he Indian hockey team "<<"\n\t which won a gold medal in 1936 Berlin Olympics "<<endl;
cout<<"\n\t C. Scored 101 goals at the Olympic games"<<"\n\t and 300 goals in the international matches. "<<endl;
cout<<"\n\t D. All the statements are correct \t :";
cin>>chr1;
if (chr1 == 'd' || chr1 == 'D')
{
cout<<"\n\n\t\t Your Answer is Correct "<<endl;
cout<<"\n\t\t\t________________";
cout<<"\n\t\t\t YOU WIN 10,000 ";
cout<<"\n\t\t\t________________";
cout<<"\n\n\n\t Press 'N' for Goto Next Question ";
cout<<"\n\t Press 'M' for Goto Main Menu ";
cin>>chr2;
if (chr2== 'm' || chr2=='M')
goto niit;
else
goto x;
}
else
{
cout<<"\n\t\t SORRY! Wrong Answer ";
cout<<"\n\tThe Correct Answer is (D. All the statements are correct ) ";
cout<<"\n\t\t\t____________";
cout<<"\n\t\t\t YOU LOSS ";
cout<<"\n\t\t\t____________";
cout<<"\n\n\t\t GAME OVER "<<endl;
cout<<"\n\t Press 'T' for Try Again ";
cout<<"\n\t Press 'M' for Goto Main Menu :";
cin>>chr3;
if(chr3=='m' || chr3=='M')
goto niit;
else
goto part_1;
}
x:
clrscr();
cout<<"\n\t3. Euclid was: ";
cout<<"\n\n\t A. Greek mathematician ";
cout<<"\n\n\t B. Contributor to the use of deductive principles "<<"\n\t of logic as the basis of geometry "<<endl;
cout<<"\n\t C. Propounded the geometrical theosems ";
cout<<"\n\n\t D. All the statements are correct \t :";
cin>>chr1;
if (chr1 == 'd' || chr1 == 'D')
{
cout<<"\n\n\t\t Your Answer is Correct "<<endl;
cout<<"\n\t\t\t________________";
cout<<"\n\t\t\t YOU WIN 20,000 ";
cout<<"\n\t\t\t________________";
cout<<"\n\n\n\n\t Press 'N' for Goto Next Question ";
cout<<"\n\t Press 'M' for Goto Main Menu ";
cin>>chr2;
if (chr2== 'm' || chr2=='M')
goto niit;
else
goto y;
}
else
{
cout<<"\n\n\t\t SORRY! Wrong Answer ";
cout<<"\n\tThe Correct Answer is (D. All the statements are correct ) ";
cout<<"\n\t\t\t ____________";
cout<<"\n\t\t\t YOU LOSS ";
cout<<"\n\t\t\t ____________";
cout<<"\n\n\t\t GAME OVER "<<endl;
cout<<"\n\t Press 'T' for Try Again ";
cout<<"\n\t Press 'M' for Goto Main Menu :";
cin>>chr3;
if(chr3=='m' || chr3=='M')
goto niit;
else
goto part_1;
}
y:
clrscr();
cout<<"\n\n\t4. Fa-hien was: ";
cout<<"\n\n\t A. The first Buddhist pilgrim of China to "<<"\n\t visit India during the reign of Chandragupta Vikramaditya ";
cout<<"\n\n\t B. The discover of Puerto Rico and Jamaica ";
cout<<"\n\n\t C. The first Buddhist pilgrim of India to visit China ";
cout<<"\n\n\t D. None of these \t\t\t :";
cin>>chr1;
if (chr1 == 'a' || chr1 == 'A')
{
cout<<"\n\n\t\t Your Answer is Correct "<<endl;
cout<<"\n\t\t\t________________";
cout<<"\n\t\t\t YOU WIN 50,000 ";
cout<<"\n\t\t\t________________";
cout<<"\n\n\n\t Press 'N' for Goto Next Question ";
cout<<"\n\t Press 'M' for Goto Main Menu : ";
cin>>chr2;
if (chr2== 'm' || chr2=='M')
goto niit;
else
goto z;
}
else
{
cout<<"\n\t\t\t SORRY! Wrong Answer ";
cout<<"\n\n\t\t\t The Correct Answer is "<<"\n\t (A. The first Buddhist pilgrim of China to "<<"\n\t visit India during the reign of Chandragupta Vikramaditya ) ";
cout<<"\n\t\t\t _____________________";
cout<<"\n\t\t\t YOU WIN 20,000 Only ";
cout<<"\n\t\t\t _____________________";
cout<<"\n\t\t GAME OVER "<<endl;
cout<<"\t Press 'T' for Try Again ";
cout<<"\n\t Press 'M' for Goto Main Menu : ";
cin>>chr3;
if(chr3=='m' || chr3=='M')
goto niit;
else
goto part_1;
}
z:
clrscr();
cout<<"\n\t___________________________";
cout<<"\n\tLAST QUESTION for 1,00,000 ";
cout<<"\n\t___________________________";
cout<<"\n\t5. Firdausi was: ";
cout<<"\n\n\t A. A person poet ";
cout<<"\n\t B. Well known for his epic ?Sharnama? ";
cout<<"\n\t C. Both are correct \t D. None of these \t :";
cin>>chr1;
if (chr1 == 'c' || chr1 == 'C')
{
cout<<"\n\tCONGRATULATIONS ";
cout<<"\n\t___________________";
cout<<"\n\n\t\t Your Answer is Correct "<<endl;
cout<<"\t\t\t__________________";
cout<<"\n\t\t\t YOU WIN 1,00,000 ";
cout<<"\n\t\t\t__________________";
cout<<"\n\n\n\t\t GAME OVER "<<endl;
cout<<"\n\t Press 'A' for Play Again ";
cout<<"\n\t Press 'M' for Goto Main Menu : ";
cin>>chr2;
if (chr2== 'm' || chr2=='M')
goto niit;
else
goto part_1;
}
else
{
cout<<"\n\n\t\t\t SORRY! Wrong Answer ";
cout<<"\n\t The Correct Answer is (C. Both are correct) ";
cout<<"\n\n\t\t\t_____________________";
cout<<"\n\t\t\t YOU WIN 20,000 Only ";
cout<<"\n\t\t\t_____________________";
cout<<"\n\n\n\t\t GAME OVER "<<endl;
cout<<"\n\t Press 'T' for Try Again ";
cout<<"\n\t Press 'M' for Goto Main Menu : ";
cin>>chr3;
if(chr3=='m' || chr3=='M')
goto niit;
else
goto part_1;
}
case 2:
detail:
clrscr();
cout<<"\n ____________________________________________________________________________";
cout<<"\n\t\t\t\t_____________";
cout<<"\n\t\t\t\tD E T A I L S ";
cout<<"\n\t\t\t\t_____________";
cout<<"\n\n\n\t\tBasic General Knowledge Quiz in Multiple Choice ";
cout<<"\n\n\n\t This is a collection of highly useful multiple choice ";
cout<<"\n\n\t\t\tgeneral knowledge questions ";
cout<<"\n\n\t from history, geography,economy, politics, culture, sports";
cout<<"\n\n\t\t\t and current affairs.";
cout<<"\n\n\t This will help you increase your general awareness ";
cout<<"\n\n ____________________________________________________________________________";
cout<<"\n\n Press 'C' for Reading Continue ";
cout<<"\n Press 'M' for Goto Main Menu :";
cin>>chr1;
if (chr1=='m' || chr1=='M')
goto niit;
else
goto next;
next:
clrscr();
cout<<"\n ____________________________________________________________________________";
cout<<"\n\n\t\t\t\t\tI T ";
cout<<"\n\n\n\t\t\t\t H A S ";
cout<<"\n\n\n\t\t\t D E V E L O P E D ";
cout<<"\n\n\n\t\t\t\t\tB Y ";
cout<<"\n\n\n\t\t\t\t H A S A N ";
cout<<"\n\n\n\t\t\t S O H E R W A R D I ";
cout<<"\n\n ____________________________________________________________________________";
cout<<"\n\n Press 'C' for Reading Continue ";
cout<<"\n Press 'M' for Goto Main Menu :";
cin>>chr2;
if (chr2=='m' || chr2=='M')
goto niit;
else
goto next_2;
next_2:
clrscr();
cout<<" ____________________________________________________________________________";
cout<<"\n\t\t\t ___________________";
cout<<"\n\t\t\t D E D I C A T E D ";
cout<<"\n\t\t\t ___________________ ";
cout<<"\n\n\t\t\t\t T O ";
cout<<"\n\n\t\t\t\t M Y ";
cout<<"\n\n\t\t\t B E L O V E D ";
cout<<"\n\n\t\t\t P A R E N T S ";
cout<<"\n\n\t\t\t B R O T H E R ";
cout<<"\n\n\t\t\t\t A N D ";
cout<<"\n\n\t\t\t\t C U T E ";
cout<<"\n\n\t\t\t S I S T E R ";
cout<<"\n ____________________________________________________________________________";
cout<<"\n\n Press 'B' for Back to Details ";
cout<<"\n Press 'M' for Goto Main Menu :";
cin>>chr3;
if (chr3=='m' || chr3=='M')
goto niit;
else
goto detail;
case 3:
next_help_1:
{
clrscr();
cout<<" _____________________________________________________________________________";
cout<<"\n\t\t There are only Five Question in this Game ";
cout<<"\n\n\n\t\t These Questions are in Multiple Choice ";
cout<<"\n\n\n\t\t\t 1st Question for 5,000 ";
cout<<"\n\n\n\t\t\t 2nd Question for 10,000 ";
cout<<"\n\n\n\t\t\t 3rd Question for [20,000] ";
cout<<"\n\n\n\t\t\t 4th Question for 50,000 ";
cout<<"\n\n\n\t\t\t5th & last Question for 1,00,000 ";
cout<<"\n _____________________________________________________________________________";
cout<<"\n\n Press 'C' for Reading Continue ";
cout<<"\n Press 'M' for Goto Main Menu : ";
cin>>chr1;
if (chr1=='m' || chr1=='M')
goto niit;
else
goto next_help_2;
}
next_help_2:
{
clrscr();
cout<<"\n ______________________________________________________________________________";
cout<<"\n\n\n\t\t\t Method of Playing the Game ";
cout<<"\n\t\t\t_______________________________";
cout<<"\n\n\n\t\tIf you are select play Game option from Main Menu ";
cout<<"\n\n\n\tImmediately system will display First Question on your screen ";
cout<<"\n\n\n\tthen you select & choose one option from multiple choice section ";
cout<<"\n\n\n\t\t and press selected option key from key board ";
cout<<"\n\n\n _____________________________________________________________________________";
cout<<"\n\n Press 'C' for Reading Continue ";
cout<<"\n Press 'M' for Goto Main Menu : ";
cin>>chr1;
if (chr1=='m' || chr1=='M')
goto niit;
else
goto next_help_3;
}
next_help_3:
{
clrscr();
cout<<" _____________________________________________________________________________";
cout<<"\n\n\t\t\t\t For Exampl ";
cout<<"\n\t\t\t\t_____________";
cout<<"\n\t______________________________";
cout<<"\n\t First Question For You "<<endl;
cout<<"\t______________________________";
cout<<"\n\t1. The language with the richest vocabulary is ? ";
cout<<"\n\n\t A. Hindi \t B. French ";
cout<<"\n\t C. English \t D. German \t :" ;
cout<<"\n\n\n\t\t The answer of this Question is (c. Eglish) ";
cout<<"\n\n\n\t\t\tthen you press just 'C' only ";
cout<<"\n\n\n\t\t so lets play and enjoy this SMART QUIZ Game ";
cout<<"\n _____________________________________________________________________________";
cout<<"\n\n Press 'C' for Reading Continue ";
cout<<"\n Press 'M' for Goto Main Menu : ";
cin>>chr1;
if (chr1=='m' || chr1=='M')
goto niit;
else
goto next_help_4;
}
next_help_4:
{
clrscr();
cout<<"\n\n _____________________________________________________________________________";
cout<<"\n\n\t\t\t\t _________";
cout<<"\n\t\t\t\t NOTE ";
cout<<"\n\t\t\t\t _________";
cout<<"\n\n\n\t (if you are giving incorrect Answer of any one Question ";
cout<<"\n\n\n\t\t\t then the Game is over ";
cout<<"\n\n\n afterwords if you are select try again option then the game will restart) ";
cout<<"\n\n\n _____________________________________________________________________________";
cout<<"\n\n\n\n Press 'B' for Back to Help Menu ";
cout<<"\n Press 'M' for Goto Main Menu : ";
cin>>chr1;
if (chr1=='m' || chr1=='M')
goto niit;
else
goto next_help_1;
}
case 4:
cout<<"\n\n\t\t\tAre You Sure to Exit? (y/n) :";
cin>>chr4;
if (chr4=='n' || chr4=='N')
goto niit;
break;
default:
cout<<"\n\t\t\t invalid your choice ";
cout<<"\n\t\t\t Do You Want to Continue (y/n) :";
cin>>chr2;
if (chr2 == 'y' || chr2 == 'Y')
goto niit;
if (chr2=='n' || chr2=='N')
cout<<"\n\t\t\t Are You Sure to Exit (y/n) :";
cin>>chr3;
if (chr3=='n' || chr3=='N')
goto niit;
break;
}
getch();
}
No comments:
Post a Comment