0% found this document useful (0 votes)
48 views27 pages

KBC Game

This C program code implements a basic 15 question quiz game modeled after the Indian TV show "Kaun Banega Crorepati" (Who Wants To Be A Millionaire). The game tracks the number of correct and incorrect answers given by the player and awards rupee prizes for correct answers up to Rs. 10 million for getting all questions right. It asks multiple choice general knowledge questions and verifies the player's response before proceeding to the next question.

Uploaded by

rishabh
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
48 views27 pages

KBC Game

This C program code implements a basic 15 question quiz game modeled after the Indian TV show "Kaun Banega Crorepati" (Who Wants To Be A Millionaire). The game tracks the number of correct and incorrect answers given by the player and awards rupee prizes for correct answers up to Rs. 10 million for getting all questions right. It asks multiple choice general knowledge questions and verifies the player's response before proceeding to the next question.

Uploaded by

rishabh
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
You are on page 1/ 27

#include<stdio.

h>
#include<conio.h>
#include<stdlib.h>
void main()
{
int i,j,a,b,option,count=0,pount=0;
clrscr();

printf(" LETS START KBC \n\n\n\n");


printf("\n\nRULES OF KBC IS AS FOLLOW:-\n1. THE GAME CONTAINS 15 QUESTION.\n2. YOU
WIN RUPEES BASED ON YOUR CORRECT ANSWERS.\n3. YOU WILL LOSE IF YOUR THREE ANSWERS
ARE WRONG.");

// QUESTION 1
lebel:
printf(" \n\n\nQ.1 WHERE IS THE HUGLI RIVER ?");
printf("\n option.1 MUMBAI \n option.2 KOLKATA \n option.3 KANPUR \n option.4
LUCKNOW \n option.5 EXIT");
printf("\n SELECT OPTION");
scanf("%d",&option);

switch(option)
{
case 1:
printf("\nWRONG ANSWER");
printf("\n RIGHT ANSWER IS KOLKATA");
count++;
break;
case 2:
printf("\nRIGHT ANSWER");
pount++;
if(pount==1)
{
printf("\n\nYOU WIN 1000 RUPEES");
}
if(pount==2)
{
printf("\n\nYOU WIN 5000 RUPEES");
}
if(pount==3)
{
printf("\n\nYOU WIN 10000 RUPEES");
}
if(pount==4)
{
printf("\n\nYOU WIN 20000 RUPEES");
}
if(pount==5)
{
printf("\n\nYOU WIN 40000 RUPEES");
}
if(pount==6)
{
printf("\n\nYOU WIN 100000 RUPEES");
}
if(pount==7)
{
printf("\n\nYOU WIN 125000 RUPEES");
}
if(pount==8)
{
printf("\n\nYOU WIN 175000 RUPEES");
}
if(pount==9)
{
printf("\n\nYOU WIN 500000 RUPEES");
}
if(pount==10)
{
printf("\n\nYOU WIN 1000000 RUPEES");
}
if(pount==11)
{
printf("\n\nYOU WIN 1500000 RUPEES");
}
if(pount==12)
{
printf("\n\nYOU WIN 2500000 RUPEES");
}
if(pount==13)
{
printf("\n\nYOU WIN 5000000 RUPEES");
}
if(pount==14)
{
printf("\n\nYOU WIN 7500000 RUPEES");
}
if(pount==15)
{
printf("\n\nYOU WIN 10000000 RUPEES");
}
break;
case 3:
printf("\nWRONG ANSWER");
printf("\n RIGHT ANSWER IS KOLKATA");
count++;
break;
case 4:
printf("\nWRONG ANSWER");
printf("\n RIGHT ANSWER IS KOLKATA");
count++;
break;
case 5:
exit(0);
default :
printf("PLEASE SELECT RIGHT CHOICE");
goto lebel;
}
// QUESTION 2

lebel1:
printf(" \n\n\n\nQ.2 WHAT IS THR CAPITAL OF INDIA ?");
printf("\n option.1 CHENNAI \n option.2 PATNA \n option.3 DELHI \n option.4 LUCKNOW
\n option.5 EXIT");
printf("\n SELECT OPTION");
scanf("%d",&option);

switch(option)
{
case 1:
printf("\nWRONG ANSWER");
printf("\n RIGHT ANSWER IS DELHI");
count++;
break;
case 2:
printf("\nWRONG ANSWER");
printf("\n RIGHT ANSWER IS DELHI");
count++;
break;
case 3:
printf("\nRIGHT ANSWER");
pount++;
if(pount==1)
{
printf("\n\nYOU WIN 1000 RUPEES");
}
if(pount==2)
{
printf("\n\nYOU WIN 5000 RUPEES");
}
if(pount==3)
{
printf("\n\nYOU WIN 10000 RUPEES");
}
if(pount==4)
{
printf("\n\nYOU WIN 20000 RUPEES");
}
if(pount==5)
{
printf("\n\nYOU WIN 40000 RUPEES");
}
if(pount==6)
{
printf("\n\nYOU WIN 100000 RUPEES");
}
if(pount==7)
{
printf("\n\nYOU WIN 125000 RUPEES");
}
if(pount==8)
{
printf("\n\nYOU WIN 175000 RUPEES");
}
if(pount==9)
{
printf("\n\nYOU WIN 500000 RUPEES");
}
if(pount==10)
{
printf("\n\nYOU WIN 1000000 RUPEES");
}
if(pount==11)
{
printf("\n\nYOU WIN 1500000 RUPEES");
}
if(pount==12)
{
printf("\n\nYOU WIN 2500000 RUPEES");
}
if(pount==13)
{
printf("\n\nYOU WIN 5000000 RUPEES");
}
if(pount==14)
{
printf("\n\nYOU WIN 7500000 RUPEES");
}
if(pount==15)
{
printf("\n\nYOU WIN 10000000 RUPEES");
}
break;
case 4:
printf("\nWRONG ANSWER");
printf("\n RIGHT ANSWER IS DELHI");
count++;
break;
case 5:
exit(0);
default :
printf("\nPLEASE SELECT RIGHT CHOICE");
goto lebel1;
}
// QUESTION 3

lebel2:
printf(" \n\n\n\nQ.3 WHICH IS THE NATIONAL ANIMAL OF INDIA ?");
printf("\n option.1 TIGER \n option.2 ELEPHANT \n option.3 PEACOCK \n option.4
RABBIT \n option.5 EXIT");
printf("\n SELECT OPTION");
scanf("%d",&option);

switch(option)
{
case 1:
printf("\nRIGHT ANSWER");
pount++;
if(pount==1)
{
printf("\n\nYOU WIN 1000 RUPEES");
}
if(pount==2)
{
printf("\n\nYOU WIN 5000 RUPEES");
}
if(pount==3)
{
printf("\n\nYOU WIN 10000 RUPEES");
}
if(pount==4)
{
printf("\n\nYOU WIN 20000 RUPEES");
}
if(pount==5)
{
printf("\n\nYOU WIN 40000 RUPEES");
}
if(pount==6)
{
printf("\n\nYOU WIN 100000 RUPEES");
}
if(pount==7)
{
printf("\n\nYOU WIN 125000 RUPEES");
}
if(pount==8)
{
printf("\n\nYOU WIN 175000 RUPEES");
}
if(pount==9)
{
printf("\n\nYOU WIN 500000 RUPEES");
}
if(pount==10)
{
printf("\n\nYOU WIN 1000000 RUPEES");
}
if(pount==11)
{
printf("\n\nYOU WIN 1500000 RUPEES");
}
if(pount==12)
{
printf("\n\nYOU WIN 2500000 RUPEES");
}
if(pount==13)
{
printf("\n\nYOU WIN 5000000 RUPEES");
}
if(pount==14)
{
printf("\n\nYOU WIN 7500000 RUPEES");
}
if(pount==15)
{
printf("\n\nYOU WIN 10000000 RUPEES");
}
break;
case 2:
printf("\nWRONG ANSWER");
printf("\n RIGHT ANSWER IS TIGER");
count++;
break;
case 3:
printf("\nWRONG ANSWER");
printf("\n RIGHT ANSWER IS TIGER");
count++;
break;
case 4:
printf("\nWRONG ANSWER");
printf("\n RIGHT ANSWER IS TIGER");
count++;
break;
case 5:
exit(0);
default :
printf("\nPLEASE SELECT RIGHT CHOICE");
goto lebel2;
}
// QUESTION 4

if(count ==3)
{
printf("\n\n\n\n YOU LOSS");
getch();
exit(0);
}
lebel3:
printf(" \n\n\n\nQ.4 WHO IS THE CAPTIAN OF INDIAN CRICKET TEAM IN PRESENT ?");
printf("\n option.1 MS DHONI \n option.2 HARDIK PNDAYA \n option.3 ROHIT SHARMA \n
option.4 VIRAT KOHLI \n option.5 EXIT");
printf("\n SELECT OPTION");
scanf("%d",&option);

switch(option)
{
case 1:
printf("\nWRONG ANSWER");
printf("\n RIGHT ANSWER IS VIRAT KOHLI");
count++;
break;
case 2:
printf("\nWRONG ANSWER");
printf("\n RIGHT ANSWER IS VIRAT KOHLI");
count++;
break;
case 3:
printf("\nWRONG ANSWER");
printf("\n RIGHT ANSWER IS VIRAT KOHLI");
count++;
break;
case 4:
printf("\nRIGHT ANSWER");
pount++;
if(pount==1)
{
printf("\n\nYOU WIN 1000 RUPEES");
}
if(pount==2)
{
printf("\n\nYOU WIN 5000 RUPEES");
}
if(pount==3)
{
printf("\n\nYOU WIN 10000 RUPEES");
}
if(pount==4)
{
printf("\n\nYOU WIN 20000 RUPEES");
}
if(pount==5)
{
printf("\n\nYOU WIN 40000 RUPEES");
}
if(pount==6)
{
printf("\n\nYOU WIN 100000 RUPEES");
}
if(pount==7)
{
printf("\n\nYOU WIN 125000 RUPEES");
}
if(pount==8)
{
printf("\n\nYOU WIN 175000 RUPEES");
}
if(pount==9)
{
printf("\n\nYOU WIN 500000 RUPEES");
}
if(pount==10)
{
printf("\n\nYOU WIN 1000000 RUPEES");
}
if(pount==11)
{
printf("\n\nYOU WIN 1500000 RUPEES");
}
if(pount==12)
{
printf("\n\nYOU WIN 2500000 RUPEES");
}
if(pount==13)
{
printf("\n\nYOU WIN 5000000 RUPEES");
}
if(pount==14)
{
printf("\n\nYOU WIN 7500000 RUPEES");
}
if(pount==15)
{
printf("\n\nYOU WIN 10000000 RUPEES");
}
break;
case 5:
exit(0);
default :
printf("\nPLEASE SELECT RIGHT CHOICE");
goto lebel3;
}
// QUESTION 5

if(count ==3)
{
printf("\n\n\n\n YOU LOSS");
getch();
exit(0);
}
lebel4:
printf(" \n\n\n\nQ.5 WHICH OF THESE CRICKETERS HOLDS THE RECORD FOR PLAYING THE
HIGHEST NO. OF TEST MATCHES ?");
printf("\n option.1 STEPHEN FLAMING \n option.2 ALAN BORDER \n option.3 STEVE WAUGH
\n option.4 SACHIN TENDULKAR \n option.5 EXIT");
printf("\n SELECT OPTION");
scanf("%d",&option);

switch(option)
{
case 1:
printf("\nWRONG ANSWER");
printf("\n RIGHT ANSWER IS SACHIN TENDULKAR");
count++;
break;
case 2:
printf("\nWRONG ANSWER");
printf("\n RIGHT ANSWER IS SACHIN TENDULKAR");
count++;
break;
case 3:
printf("\nWRONG ANSWER");
printf("\n RIGHT ANSWER IS SACHIN TENDULKAR");
count++;
break;
case 4:
printf("\nRIGHT ANSWER");
pount++;
if(pount==1)
{
printf("\n\nYOU WIN 1000 RUPEES");
}
if(pount==2)
{
printf("\n\nYOU WIN 5000 RUPEES");
}
if(pount==3)
{
printf("\n\nYOU WIN 10000 RUPEES");
}
if(pount==4)
{
printf("\n\nYOU WIN 20000 RUPEES");
}
if(pount==5)
{
printf("\n\nYOU WIN 40000 RUPEES");
}
if(pount==6)
{
printf("\n\nYOU WIN 100000 RUPEES");
}
if(pount==7)
{
printf("\n\nYOU WIN 125000 RUPEES");
}
if(pount==8)
{
printf("\n\nYOU WIN 175000 RUPEES");
}
if(pount==9)
{
printf("\n\nYOU WIN 500000 RUPEES");
}
if(pount==10)
{
printf("\n\nYOU WIN 1000000 RUPEES");
}
if(pount==11)
{
printf("\n\nYOU WIN 1500000 RUPEES");
}
if(pount==12)
{
printf("\n\nYOU WIN 2500000 RUPEES");
}
if(pount==13)
{
printf("\n\nYOU WIN 5000000 RUPEES");
}
if(pount==14)
{
printf("\n\nYOU WIN 7500000 RUPEES");
}
if(pount==15)
{
printf("\n\nYOU WIN 10000000 RUPEES");
}
break;
case 5:
exit(0);
default :
printf("\nPLEASE SELECT RIGHT CHOICE");
goto lebel4;
}
// QUESTION 6

if(count ==3)
{
printf("\n\n\n\n YOU LOSS");
getch();
exit(0);
}
lebel5:
printf(" \n\n\n\nQ.6 WHICH AMONG THESE NEVER BECAME PRESIDENT OF PAKISTAN ?");
printf("\n option.1 MOHAMMAD ALI ZINNAH \n option.2 ISKANDER MIRZA \n option.3 ASIF
ALI ZARDARI \n option.4 ZULFIKAR ALI BHUTTO \n option.5 EXIT");
printf("\n SELECT OPTION");
scanf("%d",&option);

switch(option)
{
case 1:
printf("\nRIGHT ANSWER");
pount++;
if(pount==1)
{
printf("\n\nYOU WIN 1000 RUPEES");
}
if(pount==2)
{
printf("\n\nYOU WIN 5000 RUPEES");
}
if(pount==3)
{
printf("\n\nYOU WIN 10000 RUPEES");
}
if(pount==4)
{
printf("\n\nYOU WIN 20000 RUPEES");
}
if(pount==5)
{
printf("\n\nYOU WIN 40000 RUPEES");
}
if(pount==6)
{
printf("\n\nYOU WIN 100000 RUPEES");
}
if(pount==7)
{
printf("\n\nYOU WIN 125000 RUPEES");
}
if(pount==8)
{
printf("\n\nYOU WIN 175000 RUPEES");
}
if(pount==9)
{
printf("\n\nYOU WIN 500000 RUPEES");
}
if(pount==10)
{
printf("\n\nYOU WIN 1000000 RUPEES");
}
if(pount==11)
{
printf("\n\nYOU WIN 1500000 RUPEES");
}
if(pount==12)
{
printf("\n\nYOU WIN 2500000 RUPEES");
}
if(pount==13)
{
printf("\n\nYOU WIN 5000000 RUPEES");
}
if(pount==14)
{
printf("\n\nYOU WIN 7500000 RUPEES");
}
if(pount==15)
{
printf("\n\nYOU WIN 10000000 RUPEES");
}
break;
case 2:
printf("\nWRONG ANSWER");
printf("\n RIGHT ANSWER IS MOHAMMAD ALI ZINNAH ");
count++;
break;
case 3:
printf("\nWRONG ANSWER");
printf("\n RIGHT ANSWER IS MOHAMMAD ALI ZINNAH");
count++;
break;
case 4:
printf("\nWRONG ANSWER");
printf("\n RIGHT ANSWER IS MOHAMMAD ALI ZINNAH");
count++;
break;
case 5:
exit(0);
default :
printf("\nPLEASE SELECT RIGHT CHOICE");
goto lebel5;
}
// QUESTION 7

if(count ==3)
{
printf("\n\n\n\n YOU LOSS");
getch();
exit(0);
}
lebel6:
printf(" \n\n\n\nQ.7 WHAT WORD DID GANDHI REFUSE TO CORRECT THROUGH PROMPTED BY HIS
SCHOOL TEACHER,DURING AN INSPECTION BY A HIGH RANKING OFFICIAL ?");
printf("\n option.1 KENNEL \n option.2 KETTLE \n option.3 KNITTING \n option.4
KITTEN \n option.5 EXIT");
printf("\n SELECT OPTION");
scanf("%d",&option);

switch(option)
{
case 1:
printf("\nWRONG ANSWER");
printf("\n RIGHT ANSWER IS KETTLE ");
count++;
break;
case 2:
printf("\nRIGHT ANSWER");
pount++;
if(pount==1)
{
printf("\n\nYOU WIN 1000 RUPEES");
}
if(pount==2)
{
printf("\n\nYOU WIN 5000 RUPEES");
}
if(pount==3)
{
printf("\n\nYOU WIN 10000 RUPEES");
}
if(pount==4)
{
printf("\n\nYOU WIN 20000 RUPEES");
}
if(pount==5)
{
printf("\n\nYOU WIN 40000 RUPEES");
}
if(pount==6)
{
printf("\n\nYOU WIN 100000 RUPEES");
}
if(pount==7)
{
printf("\n\nYOU WIN 125000 RUPEES");
}
if(pount==8)
{
printf("\n\nYOU WIN 175000 RUPEES");
}
if(pount==9)
{
printf("\n\nYOU WIN 500000 RUPEES");
}
if(pount==10)
{
printf("\n\nYOU WIN 1000000 RUPEES");
}
if(pount==11)
{
printf("\n\nYOU WIN 1500000 RUPEES");
}
if(pount==12)
{
printf("\n\nYOU WIN 2500000 RUPEES");
}
if(pount==13)
{
printf("\n\nYOU WIN 5000000 RUPEES");
}
if(pount==14)
{
printf("\n\nYOU WIN 7500000 RUPEES");
}
if(pount==15)
{
printf("\n\nYOU WIN 10000000 RUPEES");
}
break;
case 3:
printf("\nWRONG ANSWER");
printf("\n RIGHT ANSWER IS KETTLE");
count++;
break;
case 4:
printf("\nWRONG ANSWER");
printf("\n RIGHT ANSWER IS KETTLE");
count++;
break;
case 5:
exit(0);
default :
printf("\nPLEASE SELECT RIGHT CHOICE");
goto lebel6;
}
// QUESTION 8

if(count ==3)
{
printf("\n\n\n\n YOU LOSS");
getch();
exit(0);
}
lebel7:
printf(" \n\n\n\nQ.8 WHAT YAJNA DID YUDHISHTHIRA PERFORM AFTER THE BATTLE OF
KURUKSHETRA TO FREE HIMSELF OF HIS SINS ?");
printf("\n option.1 VAJPEYA \n option.2 ASHWAMEDHA \n option.3 AGNISTOMA \n
option.4 SARPAMEDHA \n option.5 EXIT");
printf("\n SELECT OPTION");
scanf("%d",&option);

switch(option)
{
case 1:
printf("\nWRONG ANSWER");
printf("\n RIGHT ANSWER IS ASHWAMEDHA");
count++;
break;
case 2:
printf("\nRIGHT ANSWER");
pount++;
if(pount==1)
{
printf("\n\nYOU WIN 1000 RUPEES");
}
if(pount==2)
{
printf("\n\nYOU WIN 5000 RUPEES");
}
if(pount==3)
{
printf("\n\nYOU WIN 10000 RUPEES");
}
if(pount==4)
{
printf("\n\nYOU WIN 20000 RUPEES");
}
if(pount==5)
{
printf("\n\nYOU WIN 40000 RUPEES");
}
if(pount==6)
{
printf("\n\nYOU WIN 100000 RUPEES");
}
if(pount==7)
{
printf("\n\nYOU WIN 125000 RUPEES");
}
if(pount==8)
{
printf("\n\nYOU WIN 175000 RUPEES");
}
if(pount==9)
{
printf("\n\nYOU WIN 500000 RUPEES");
}
if(pount==10)
{
printf("\n\nYOU WIN 1000000 RUPEES");
}
if(pount==11)
{
printf("\n\nYOU WIN 1500000 RUPEES");
}
if(pount==12)
{
printf("\n\nYOU WIN 2500000 RUPEES");
}
if(pount==13)
{
printf("\n\nYOU WIN 5000000 RUPEES");
}
if(pount==14)
{
printf("\n\nYOU WIN 7500000 RUPEES");
}
if(pount==15)
{
printf("\n\nYOU WIN 10000000 RUPEES");
}
break;
case 3:
printf("\nWRONG ANSWER");
printf("\n RIGHT ANSWER IS ASHWAMEDHA");
count++;
break;
case 4:
printf("\nWRONG ANSWER");
printf("\n RIGHT ANSWER IS ASHWAMEDHA");
count++;
break;
case 5:
exit(0);
default :
printf("\nPLEASE SELECT RIGHT CHOICE");
goto lebel7;
}
// QUESTION 9

if(count ==3)
{
printf("\n\n\n\n YOU LOSS");
getch();
exit(0);
}
lebel8:
printf(" \n\n\n\nQ.9 HOW MANY LANGUAGES FEATURE ON THE LANGUAGE PANEL OF
CONTEMPORARY ESERVE BANK OF INDIA CURRENCY NOTES ?");
printf("\n option.1 15 \n option.2 10 \n option.3 12 \n option.4 18 \n option.5
EXIT");
printf("\n SELECT OPTION");
scanf("%d",&option);

switch(option)
{
case 1:
printf("\nRIGHT ANSWER");
pount++;
if(pount==1)
{
printf("\n\nYOU WIN 1000 RUPEES");
}
if(pount==2)
{
printf("\n\nYOU WIN 5000 RUPEES");
}
if(pount==3)
{
printf("\n\nYOU WIN 10000 RUPEES");
}
if(pount==4)
{
printf("\n\nYOU WIN 20000 RUPEES");
}
if(pount==5)
{
printf("\n\nYOU WIN 40000 RUPEES");
}
if(pount==6)
{
printf("\n\nYOU WIN 100000 RUPEES");
}
if(pount==7)
{
printf("\n\nYOU WIN 125000 RUPEES");
}
if(pount==8)
{
printf("\n\nYOU WIN 175000 RUPEES");
}
if(pount==9)
{
printf("\n\nYOU WIN 500000 RUPEES");
}
if(pount==10)
{
printf("\n\nYOU WIN 1000000 RUPEES");
}
if(pount==11)
{
printf("\n\nYOU WIN 1500000 RUPEES");
}
if(pount==12)
{
printf("\n\nYOU WIN 2500000 RUPEES");
}
if(pount==13)
{
printf("\n\nYOU WIN 5000000 RUPEES");
}
if(pount==14)
{
printf("\n\nYOU WIN 7500000 RUPEES");
}
if(pount==15)
{
printf("\n\nYOU WIN 10000000 RUPEES");
}

break;
case 2:
printf("\nWRONG ANSWER");
printf("\n RIGHT ANSWER IS 15");
count++;
break;
case 3:
printf("\nWRONG ANSWER");
printf("\n RIGHT ANSWER IS 15");
count++;
break;
case 4:
printf("\nWRONG ANSWER");
printf("\n RIGHT ANSWER IS 15");
count++;
break;
case 5:
exit(0);
default :
printf("\nPLEASE SELECT RIGHT CHOICE");
goto lebel8;
}
// QUESTION 10

if(count ==3)
{
printf("\n\n\n\n YOU LOSS");
getch();
exit(0);
}
lebel9:
printf(" \n\n\n\nQ.10 WHICH OF THESE STATES HAS A SEPARATE WINTER AND SUMMER
CAPITAL ?");
printf("\n option.1 HIMACHAL PRADESH \n option.2 JAMMU AND KASHMIR \n option.3
PUNJAB \n option.4 RAJASTHAN \n option.5 EXIT");
printf("\n SELECT OPTION");
scanf("%d",&option);

switch(option)
{
case 1:
printf("\nWRONG ANSWER");
printf("\n RIGHT ANSWER IS JAMMU AND KASHMIR");
count++;
break;
case 2:
printf("\nRIGHT ANSWER");
pount++;
if(pount==1)
{
printf("\n\nYOU WIN 1000 RUPEES");
}
if(pount==2)
{
printf("\n\nYOU WIN 5000 RUPEES");
}
if(pount==3)
{
printf("\n\nYOU WIN 10000 RUPEES");
}
if(pount==4)
{
printf("\n\nYOU WIN 20000 RUPEES");
}
if(pount==5)
{
printf("\n\nYOU WIN 40000 RUPEES");
}
if(pount==6)
{
printf("\n\nYOU WIN 100000 RUPEES");
}
if(pount==7)
{
printf("\n\nYOU WIN 125000 RUPEES");
}
if(pount==8)
{
printf("\n\nYOU WIN 175000 RUPEES");
}
if(pount==9)
{
printf("\n\nYOU WIN 500000 RUPEES");
}
if(pount==10)
{
printf("\n\nYOU WIN 1000000 RUPEES");
}
if(pount==11)
{
printf("\n\nYOU WIN 1500000 RUPEES");
}
if(pount==12)
{
printf("\n\nYOU WIN 2500000 RUPEES");
}
if(pount==13)
{
printf("\n\nYOU WIN 5000000 RUPEES");
}
if(pount==14)
{
printf("\n\nYOU WIN 7500000 RUPEES");
}
if(pount==15)
{
printf("\n\nYOU WIN 10000000 RUPEES");
}
break;
case 3:
printf("\nWRONG ANSWER");
printf("\n RIGHT ANSWER IS JAMMU AND KASHMIR");
count++;
break;
case 4:
printf("\nWRONG ANSWER");
printf("\n RIGHT ANSWER IS JAMMU AND KASHMIR");
count++;
break;
case 5:
exit(0);
default :
printf("\nPLEASE SELECT RIGHT CHOICE");
goto lebel9;
}
// QUESTION 11

if(count ==3)
{
printf("\n\n\n\n YOU LOSS");
getch();
exit(0);
}
lebel10:
printf(" \n\n\n\nQ.11 WHICH OF THESE STATE IS A TRADITIONAL SIKH MATERIAL ART NAMED
AFTER STICK USED TO PRACTICE SWORD FIGHTING ?");
printf("\n option.1 GATKA \n option.2 HOLA MOHALLA \n option.3 SHAKHL \n option.4
KAKAAR \n option.5 EXIT");
printf("\n SELECT OPTION");
scanf("%d",&option);

switch(option)
{
case 1:
printf("\nRIGHT ANSWER");
pount++;
if(pount==1)
{
printf("\n\nYOU WIN 1000 RUPEES");
}
if(pount==2)
{
printf("\n\nYOU WIN 5000 RUPEES");
}
if(pount==3)
{
printf("\n\nYOU WIN 10000 RUPEES");
}
if(pount==4)
{
printf("\n\nYOU WIN 20000 RUPEES");
}
if(pount==5)
{
printf("\n\nYOU WIN 40000 RUPEES");
}
if(pount==6)
{
printf("\n\nYOU WIN 100000 RUPEES");
}
if(pount==7)
{
printf("\n\nYOU WIN 125000 RUPEES");
}
if(pount==8)
{
printf("\n\nYOU WIN 175000 RUPEES");
}
if(pount==9)
{
printf("\n\nYOU WIN 500000 RUPEES");
}
if(pount==10)
{
printf("\n\nYOU WIN 1000000 RUPEES");
}
if(pount==11)
{
printf("\n\nYOU WIN 1500000 RUPEES");
}
if(pount==12)
{
printf("\n\nYOU WIN 2500000 RUPEES");
}
if(pount==13)
{
printf("\n\nYOU WIN 5000000 RUPEES");
}
if(pount==14)
{
printf("\n\nYOU WIN 7500000 RUPEES");
}
if(pount==15)
{
printf("\n\nYOU WIN 10000000 RUPEES");
}
break;
case 2:
printf("\nWRONG ANSWER");
printf("\n RIGHT ANSWER IS GATKA");
count++;
break;
case 3:
printf("\nWRONG ANSWER");
printf("\n RIGHT ANSWER IS GATKA");
count++;
break;
case 4:
printf("\nWRONG ANSWER");
printf("\n RIGHT ANSWER IS GATKA");
count++;
break;
case 5:
exit(0);
default :
printf("\nPLEASE SELECT RIGHT CHOICE");
goto lebel10;
}
// QUESTION 12

if(count ==3)
{
printf("\n\n\n\n YOU LOSS");
getch();
exit(0);
}
lebel11:
printf(" \n\n\n\nQ.12 WHAT DOES KESARI MEAN IN 'PUNJAB KESARI'-A POPULARTITLE OF
LALA LAJPAT RAI ?");
printf("\n option.1 LION \n option.2 GOLD \n option.3 LIGHT \n option.4 FATHER \n
option.5 EXIT");
printf("\n SELECT OPTION");
scanf("%d",&option);

switch(option)
{
case 1:
printf("\nRIGHT ANSWER");
pount++;
if(pount==1)
{
printf("\n\nYOU WIN 1000 RUPEES");
}
if(pount==2)
{
printf("\n\nYOU WIN 5000 RUPEES");
}
if(pount==3)
{
printf("\n\nYOU WIN 10000 RUPEES");
}
if(pount==4)
{
printf("\n\nYOU WIN 20000 RUPEES");
}
if(pount==5)
{
printf("\n\nYOU WIN 40000 RUPEES");
}
if(pount==6)
{
printf("\n\nYOU WIN 100000 RUPEES");
}
if(pount==7)
{
printf("\n\nYOU WIN 125000 RUPEES");
}
if(pount==8)
{
printf("\n\nYOU WIN 175000 RUPEES");
}
if(pount==9)
{
printf("\n\nYOU WIN 500000 RUPEES");
}
if(pount==10)
{
printf("\n\nYOU WIN 1000000 RUPEES");
}
if(pount==11)
{
printf("\n\nYOU WIN 1500000 RUPEES");
}
if(pount==12)
{
printf("\n\nYOU WIN 2500000 RUPEES");
}
if(pount==13)
{
printf("\n\nYOU WIN 5000000 RUPEES");
}
if(pount==14)
{
printf("\n\nYOU WIN 7500000 RUPEES");
}
if(pount==15)
{
printf("\n\nYOU WIN 10000000 RUPEES");
}
break;
case 2:
printf("\nWRONG ANSWER");
printf("\n RIGHT ANSWER IS LION");
count++;
break;
case 3:
printf("\nWRONG ANSWER");
printf("\n RIGHT ANSWER IS LION");
count++;
break;
case 4:
printf("\nWRONG ANSWER");
printf("\n RIGHT ANSWER IS LION");
count++;
break;
case 5:
exit(0);
default :
printf("\nPLEASE SELECT RIGHT CHOICE");
goto lebel11;
}
// QUESTION 13

if(count ==3)
{
printf("\n\n\n\n YOU LOSS");
getch();
exit(0);
}
lebel12:
printf(" \n\n\n\nQ.13 ACCORDING TO HINDU MYTHOLOGY WHO AMONG THESE WAS THE DAUGHTER
OF AN 'APSARA' AND 'RISHI' ?");
printf("\n option.1 DEVAKI \n option.2 RUKMANI \n option.3 SHAKUNTALA \n option.4
GANGA \n option.5 EXIT");
printf("\n SELECT OPTION");
scanf("%d",&option);

switch(option)
{
case 1:
printf("\nWRONG ANSWER");
printf("\n RIGHT ANSWER IS SHAKUNTALA");
count++;
break;
case 2:
printf("\nWRONG ANSWER");
printf("\n RIGHT ANSWER IS SHAKUNTALA");
count++;
break;
case 3:
printf("\nRIGHT ANSWER");
pount++;
if(pount==1)
{
printf("\n\nYOU WIN 1000 RUPEES");
}
if(pount==2)
{
printf("\n\nYOU WIN 5000 RUPEES");
}
if(pount==3)
{
printf("\n\nYOU WIN 10000 RUPEES");
}
if(pount==4)
{
printf("\n\nYOU WIN 20000 RUPEES");
}
if(pount==5)
{
printf("\n\nYOU WIN 40000 RUPEES");
}
if(pount==6)
{
printf("\n\nYOU WIN 100000 RUPEES");
}
if(pount==7)
{
printf("\n\nYOU WIN 125000 RUPEES");
}
if(pount==8)
{
printf("\n\nYOU WIN 175000 RUPEES");
}
if(pount==9)
{
printf("\n\nYOU WIN 500000 RUPEES");
}
if(pount==10)
{
printf("\n\nYOU WIN 1000000 RUPEES");
}
if(pount==11)
{
printf("\n\nYOU WIN 1500000 RUPEES");
}
if(pount==12)
{
printf("\n\nYOU WIN 2500000 RUPEES");
}
if(pount==13)
{
printf("\n\nYOU WIN 5000000 RUPEES");
}
if(pount==14)
{
printf("\n\nYOU WIN 7500000 RUPEES");
}
if(pount==15)
{
printf("\n\nYOU WIN 10000000 RUPEES");
}
break;
case 4:
printf("\nWRONG ANSWER");
printf("\n RIGHT ANSWER IS SHAKUNTALA");
count++;
break;
case 5:
exit(0);
default :
printf("\nPLEASE SELECT RIGHT CHOICE");
goto lebel13;
}
// QUESTION 14

if(count ==3)
{
printf("\n\n\n\n YOU LOSS");
getch();
exit(0);
}
lebel13:
printf(" \n\n\n\nQ.14 WHAT WAS THE ONLY DOWRY, APPART FROM A FEW YARDS OF KHADI,
THAT LAL BAHADUR SHASTRI ACCEPTED IN HIS MARRIAGE ?");
printf("\n option.1 BHAGWAD GEETA \n option.2 KHADAUN \n option.3 GANDHI \n
option.4 CHARKHA \n option.5 EXIT");
printf("\n SELECT OPTION");
scanf("%d",&option);

switch(option)
{
case 1:
printf("\nWRONG ANSWER");
printf("\n RIGHT ANSWER IS CHARKHA");
count++;
break;
case 2:
printf("\nWRONG ANSWER");
printf("\n RIGHT ANSWER IS CHARKHA");
count++;
break;
case 3:
printf("\nWRONG ANSWER");
printf("\n RIGHT ANSWER IS CHARKHA");
count++;
break;
case 4:
printf("\nRIGHT ANSWER");
pount++;
if(pount==1)
{
printf("\n\nYOU WIN 1000 RUPEES");
}
if(pount==2)
{
printf("\n\nYOU WIN 5000 RUPEES");
}
if(pount==3)
{
printf("\n\nYOU WIN 10000 RUPEES");
}
if(pount==4)
{
printf("\n\nYOU WIN 20000 RUPEES");
}
if(pount==5)
{
printf("\n\nYOU WIN 40000 RUPEES");
}
if(pount==6)
{
printf("\n\nYOU WIN 100000 RUPEES");
}
if(pount==7)
{
printf("\n\nYOU WIN 125000 RUPEES");
}
if(pount==8)
{
printf("\n\nYOU WIN 175000 RUPEES");
}
if(pount==9)
{
printf("\n\nYOU WIN 500000 RUPEES");
}
if(pount==10)
{
printf("\n\nYOU WIN 1000000 RUPEES");
}
if(pount==11)
{
printf("\n\nYOU WIN 1500000 RUPEES");
}
if(pount==12)
{
printf("\n\nYOU WIN 2500000 RUPEES");
}
if(pount==13)
{
printf("\n\nYOU WIN 5000000 RUPEES");
}
if(pount==14)
{
printf("\n\nYOU WIN 7500000 RUPEES");
}
if(pount==15)
{
printf("\n\nYOU WIN 10000000 RUPEES");
}
break;
case 5:
exit(0);
default :
printf("\nPLEASE SELECT RIGHT CHOICE");
goto lebel13;
}
// QUESTION 15

if(count ==3)
{
printf("\n\n\n\n YOU LOSS");
getch();
exit(0);
}
lebel14:
printf(" \n\n\n\nQ.15 WHICH COLONIAL POWER ENDED ITS INVOLVEMENT IN INDIA BY
SELLING THE RIGHTS OF THE NICOBAR ISLANDS TO THE BRITISH ON OCTOBER 16,1868 ?");
printf("\n option.1 BELGIUM \n option.2 ITALY \n option.3 DENMARK \n option.4
FRANCE \n option.5 EXIT");
printf("\n SELECT OPTION");
scanf("%d",&option);

switch(option)
{
case 1:
printf("\nWRONG ANSWER");
printf("\n RIGHT ANSWER IS DENMARK");
count++;
break;
case 2:
printf("\nWRONG ANSWER");
printf("\n RIGHT ANSWER IS DENMARK");
count++;
break;
case 3:
printf("\nRIGHT ANSWER");
pount++;
if(pount==1)
{
printf("\n\nYOU WIN 1000 RUPEES");
}
if(pount==2)
{
printf("\n\nYOU WIN 5000 RUPEES");
}
if(pount==3)
{
printf("\n\nYOU WIN 10000 RUPEES");
}
if(pount==4)
{
printf("\n\nYOU WIN 20000 RUPEES");
}
if(pount==5)
{
printf("\n\nYOU WIN 40000 RUPEES");
}
if(pount==6)
{
printf("\n\nYOU WIN 100000 RUPEES");
}
if(pount==7)
{
printf("\n\nYOU WIN 125000 RUPEES");
}
if(pount==8)
{
printf("\n\nYOU WIN 175000 RUPEES");
}
if(pount==9)
{
printf("\n\nYOU WIN 500000 RUPEES");
}
if(pount==10)
{
printf("\n\nYOU WIN 1000000 RUPEES");
}
if(pount==11)
{
printf("\n\nYOU WIN 1500000 RUPEES");
}
if(pount==12)
{
printf("\n\nYOU WIN 2500000 RUPEES");
}
if(pount==13)
{
printf("\n\nYOU WIN 5000000 RUPEES");
}
if(pount==14)
{
printf("\n\nYOU WIN 7500000 RUPEES");
}
if(pount==15)
{
printf("\n\nYOU WIN 10000000 RUPEES");
}
break;
case 4:
printf("\nWRONG ANSWER");
printf("\n RIGHT ANSWER IS DENMARK");
count++;
break;
case 5:
exit(0);
default :
printf("\nPLEASE SELECT RIGHT CHOICE");
goto lebel14;
}
getch();
}

You might also like