#include<iostream.h>
#include<conio.h>
#include<stdio.h>
void main()
{
clrscr();
int x,y,z;
x=y=z=0;
char ch1[100],ch2,ch3,ch4,ch5,ch6,ch7,ch8,ch9,ch10,ch11;
cout<<"\n\n\n\nGuest Enter Your Name\n\n";
gets(ch1);
clrscr();
cout<<"\n\nWelcome "<<ch1<<"\n\nTHIS IS THE GAME TO KNOW ABOUT YOUR GENERAL KNOWLEDGE\n\n";
cout<<"\n\n Enter answer in form of '1','2' and'3'only.";
cout<<"\n\nWhat is called as ' THE HOLYLAND'?\n"
<<endl<< "1.Jerusalem\n"<<"2.Mathura\n"<<endl<<"3.Mecca\n"<<endl<<"Your choice:";
cin>>ch2;
if(ch2=='1')
{
x=x+10;
cout<<"Good Job."<<endl<<"Your score is "<<x;
}
else
cout<<"Sorry wrong answer.";
getch();
clrscr();
cout<<"\n\n\nWhat is called as ' THE ROOF OF THE WORLD'\n?"
<<endl<<"1.Nepal\n"<<endl<<"2.Rome\n"<<endl<<"3.Tibet \n "<<endl<<"Your choice:";
cin>>ch2;
if(ch2=='3')
{
x=x+10;
cout<<"Good Job.Your score is "<<x;
}
else
cout<<"Sorry wrong answer.";
getch();
clrscr();
cout<<"\n\n\nWhat is called as ' THE LAND OF RISING SUN\n'?"
<<endl<<"1.Chicago\n"<<endl<<"2.Japan\n"<<endl<<"3.Tibet\n"<<endl<<endl<<"Your choice:";
cin>>ch2;
if(ch2=='2')
{
x=x+10;
cout<<"Good Job.Your score is "<<x;
}
else
cout<<"Sorry wrong answer.";
getch();
clrscr();
cout<<"\n\nWhat is called as ' THE GIFT OF NILE'?\n"
<<endl<<"1.Chicago\n"<<endl<<"2.Egypt\n"<<endl<<"3.Africa\n"<<endl<<endl<<"Your choice:";
cin>>ch2;
if(ch2=='2')
{
x=x+10;
cout<<"Good Job.Your score is "<<x;
}
else
cout<<"Sorry wrong answer.";
getch();
clrscr();
cout<<"\n\n\nWhat is called as ' THE LAND OF MIDNIGHT SUN'?"
<<endl<<"1.Norway\n\n" <<endl<<"2.Japan\n\n "<<endl<<"3.Australia\n\n"<<endl<<endl<<"Your choice:";
cin>>ch2;
if(ch2=='1')
{
x=x+10;
cout<<"Good Job.Your score is "<<x;
}
else
cout<<"Sorry wrong answer.";
getch();
clrscr();
cout<<"\n\nWhat is called as ' THE LAND OFTHUNDERBOLT'?\n"
<<endl<<"1.Bhutan\n"<<endl<<"2.Canada\n"<<endl<<"3.Arab\n"<<endl<<endl<<"Your choice:";
cin>>ch2;
if(ch2=='1')
{
x=x+10;
cout<<"Good Job.Your score is "<<x;
}
else
cout<<"Sorry wrong answer.";
getch();
clrscr();
cout<<"\n\n\nWhat is called as ' THE WINDY CITY?\n\n"
<<endl<<"1.Jerusalem \n\n"<<endl<<"2.Japan \n\n"<<endl<<"3.Chicago\n\n"<<endl<<endl<<"Your choice:";
cin>>ch2;
if(ch2=='3')
{
x=x+10;
cout<<"Good Job.Your score is "<<x;
}
else
cout<<"Sorry wrong answer.";
getch();
clrscr();
cout<<"\n\nWhat is called as ' THE LAND OF WHITE ELEPHANTS'?\n\n"
<<endl<<"1.Bangladesh\n\n"<<endl<<"2.Thailand\n"<<endl<<"3.India\n\n"<<endl<<endl<<"Your choice:";
cin>>ch2;
if(ch2=='2')
{
x=x+10;
cout<<"Good Job.Your score is "<<x;
}
else
cout<<"Sorry wrong answer.";
getch();
clrscr();
cout<<"\n\nWhat is called as ' THE CITY OF SEVEN HILLS'?\n\n"
<<endl<<"1.Rome\n "<<endl<<" 2.Nilgiri Hills\n\n "<<endl<<"3.Tibet\n\n "<<endl<<endl<<"Your choice:";
cin>>ch2;
if(ch2=='1')
{
x=x+10;
cout<<"Good Job.Your score is "<<x;
}
else
cout<<"Sorry wrong answer.";
getch();
clrscr();
cout<<"\n\nWhat is called as ' THE DARK CONTIENENT'?\n\n"
<<endl<<"1.Asia\n\n "<<endl<<"2.Australia\n\n" <<endl<<"3.Africa\n\n"<<endl<<endl<<"Your choice:";
cin>>ch2;
if(ch2=='3')
{
x=x+10;
cout<<"Good Job.Your score is "<<x;
}
else
cout<<"Sorry wrong answer.";
getch();
clrscr();
cout<<"\n\nTo which terrorist organization are the recent 26/11 Mumbai attackers linked to?\n"
<<endl<<"1)Lashkar-e-Toiba\n"<<endl<<"2)Al-Qaeda\n"<<endl<<"3)Jaish-e-Mohammad\n"<<endl<<endl<<"Your choice:";
cin>>ch2;
if(ch2=='1')
{
x=x+10;
cout<<"Good Job.Your score is "<<x;
}
else
cout<<"Sorry wrong answer.";
getch();
clrscr();
cout<<"\n\nWhat was the total medal tally for the indian atheletes in the Beijing Olympics?\n\n"
<<endl<<"1)Five\n"<<endl<<"2)Three\n"<<endl<<"3)Four\n"<<endl<<endl<<"Your choice:";
cin>>ch2;
if(ch2=='2')
{
x=x+10;
cout<<"Good Job.Your score is "<<x;
}
else
cout<<"Sorry wrong answer.";
getch();
clrscr();
cout<<"\nWhat was the name of the indian unmanned moon probe launched in 2008?"
<<endl<<"1)Chandrakanth\n"<<endl<<"2)Chandravahan\n"<<endl<<"3)Chandrayaan\n"<<endl<<endl<<"Your choice:";
cin>>ch2;
if(ch2=='3')
{
x=x+10;
cout<<"Good Job.Your score is "<<x;
}
else
cout<<"Sorry wrong answer.";
getch();
clrscr();
cout<<"\n\nWhat is the name of the lone terrorist captured alive by the police during the 26/11 Mumbai attacks?"
<<endl<<"1)Mohammed Ismail\n"<<endl<<"2)Abdul Rehmaan\n"<<endl<<"3)Ajmal Kasab\n"<<endl<<endl<<"Your choice:";
cin>>ch2;
if(ch2=='3')
{
x=x+10;
cout<<"Good Job.Your score is "<<x;
}
else
cout<<"Sorry wrong answer.";
getch();
clrscr();
cout<<"\nWho won the Euro cup 2008 of football?\n"
<<endl<<"1)Spain\n"<<endl<<"2)Germany\n"<<endl<<"3)England\n"<<endl<<endl<<"Your choice:";
cin>>ch2;
if(ch2=='1')
{
x=x+10;
cout<<"Good Job.Your score is "<<x;
}
else
cout<<"Sorry wrong answer.";
getch();
clrscr();
cout<<"\n\n)Which widely awaited cell phone launched already in the U.S and other countries was recently launched in India"
<<endl<<"1)Apple-iPhone\n"<<endl<<"2)Apple ePhone\n"<<endl<<"3)N96\n"<<endl<<endl<<"Your choice:";
cin>>ch2;
if(ch2=='1')
{
x=x+10;
cout<<"Good Job.Your score is "<<x;
}
else
cout<<"Sorry wrong answer.";
getch();
clrscr();
cout<<"\n\nWhich political party came out victorious in the recent assembly elections in Delhi\n\n"<<endl
<<endl<<"1)BJP\n"<<endl<<"2)Congress\n"<<endl<<"3)BSP\n"<<endl<<endl<<"Your choice:";
cin>>ch2;
if(ch2=='2')
{
x=x+10;
cout<<"Good Job.Your score is "<<x;
}
else
cout<<"Sorry wrong answer.";
getch();
clrscr();
cout<<"\n\nWhich former PM of Pakistan was assasinated in the yea 2007?\n"
<<endl<<"1)Benazir Bhutto\n"<<endl<<"2)Nawaz Sharif\n"<<endl<<"3)Shaukat Aziz\n"<<endl<<endl<<"Your choice:";
cin>>ch2;
if(ch2=='1')
{
x=x+10;
cout<<"Your score is "<<x;
}
else
cout<<"Sorry wrong answer.";
getch();
clrscr();
cout<<"\n\nOn which American TV quiz show was the popular indian show 'Kaun Banega Crorepati'based?\n\n"
<<endl<<"1)Who wants to be a millionaire?\n"<<endl<<"2)Money Power\n"<<endl<<"3)Are u smarter than a fifth grader\n"
<<endl<<endl<<"Your choice:";
cin>>ch2;
if(ch2=='1')
{
x=x+10;
cout<<"Good Job.Your score is "<<x;
}
else
cout<<"Sorry wrong answer.";
getch();
clrscr();
cout<<"\n\nWhat is the name of the latest operating system by microsoft?\n\n"
<<endl<<"1)Vista\n"<<endl<<"2)Pista\n"<<endl<<"3)Mac\n"<<endl<<endl<<"Your choice:";
cin>>ch2;
if(ch2=='1')
{
x=x+10;
cout<<"Good Job.Your score is "<<x;
}
else
cout<<"Sorry wrong answer.";
getch();
clrscr();
cout<<"\n\nWhat was the end result of the recently concluded Australia-South africa Test cricket series?"
<<endl<<"1)2-0(Aus Won)\n"<<endl<<"2)2-1(SA won)\n"<<endl<<"3)1-1(draw)\n"<<endl<<endl<<"Your choice:";
cin>>ch2;
if(ch2=='2')
{
x=x+10;
cout<<"Good Job.Your score is "<<x;
}
else
cout<<"Sorry wrong answer.";
getch();
clrscr();
cout<<"\n\nWhich political party won the highest no. of seats in the assembly elections in J&K in 2008?"
<<endl<<"1)Congress\n"<<endl<<"2)National conference\n"<<endl<<"3)CPI(M)\n"<<endl<<endl<<"Your choice:";
cin>>ch2;
if(ch2=='2')
{
x=x+10;
cout<<"Good Job.Your score is "<<x;
}
else
cout<<"Sorry wrong answer.";
getch();
clrscr();
cout<<"\n\nWhich football player was awarded the Ballon d'or of 2008\n"
<<endl<<"1)Cristiano Ronaldo\n"<<endl<<"2)Fernando Torres\n"<<endl<<"3)Peter crouch"<<endl<<endl<<"Your choice:";
cin>>ch2;
if(ch2=='1')
{
x=x+10;
cout<<"Good Job.Your score is "<<x;
}
else
cout<<"Sorry wrong answer.";
getch();
clrscr();
cout<<"Which militant organization is on the run in Sri Lanka after being attacked by the Sri lankan army?"
<<endl<<"1)LTTE\n"<<"2)ULFA\n"<<endl<<"3)HUJI\n"<<endl<<endl<<"Your choice:";
cin>>ch2;
if(ch2=='1')
{
x=x+10;
cout<<"Good Job.Your score is "<<x;
}
else
cout<<"Sorry wrong answer.";
getch();
clrscr();
cout<<"Which country won the highest no. of gold medals in the Beijing Olympics?"
<<endl<<"1)USA\m"<<endl<<"2)China\n"<<endl<<"3)Australia\n"<<endl<<endl<<"Your choice:";
cin>>ch2;
if(ch2=='2')
{
x=x+10;
cout<<"Good Job.Your score is "<<x;
}
else
cout<<"Sorry wrong answer.";
getch();
clrscr();
if(x==250)
cout<<"Exceptionally Brilliant";
if(x==200)
cout<<"You are extremely intelligent"<<endl<<" Your Score is 200";
if(x==180)
cout<<"You are intelligent" <<endl<<"Your Score is 180";
if(150==x||x==130||x==110)
cout<<"You are average Your Score is "<<x<<" Better luck nexttime";
else if(x<=100)
cout<<"No use........ Not even 10 questions right";
getch();
}