0% found this document useful (0 votes)
37 views13 pages

Quiz 1

Class quiz public static void main(String[]args)throws IOException. System.out.println("WELCOME YO the WORLD OF QUIZ!LET US SEE HOW FAR YOU CAN GO"

Uploaded by

Rekha Chopra
Copyright
© Attribution Non-Commercial (BY-NC)
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)
37 views13 pages

Quiz 1

Class quiz public static void main(String[]args)throws IOException. System.out.println("WELCOME YO the WORLD OF QUIZ!LET US SEE HOW FAR YOU CAN GO"

Uploaded by

Rekha Chopra
Copyright
© Attribution Non-Commercial (BY-NC)
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/ 13

import java.io.

*;
import java.lang.*;
class quiz
{
public static void main(String[]args)throws IOException
{
System.out.println("*****WELCOME YO THE WORLD OF QUIZ !LET US SEE HOW FAR
YOU CAN GO.*****");
System.out.println("*****************************************************
*******************");
System.out.println();
System.out.println("=====================================================
====================");
System.out.println("CHOOSE ONE OPTION WITH WHICH YOU WANT TO PLAY THE MIN
D BENDING GAME");
System.out.println("1.***SPORTS***");
System.out.println("2.***POLITICS***");
System.out.println("3.***MIXED BAG***");
System.out.println();
System.out.println("=====================================================
====================");
System.out.println("+++++Enter the choice+++++");
InputStreamReader reader =new InputStreamReader(System.in);
BufferedReader input = new BufferedReader(reader);
String s1 =input.readLine();
int choice =Integer.parseInt(s1);
if(choice==1)
{int sc=0;
System.out.println("^^^^^^^^^GET READY FOR THE BRAIN STORM^^^^^^^^^^^");
System.out.println("~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~")
;
System.out.println();
System.out.println("*****WHICH IS THE GREATEST NATIONAL SPORTS AWARD?***
**");
System.out.println("##### 1.ARJUN AWARD #####");
System.out.println("##### 2.RAJIV GANDHI KHEL RATNA #####");
System.out.println("##### 3.DRONACHARYA AWARD #####");
System.out.println("##### 4.GRAND SLAM AWARD #####");
System.out.println("========Enter the choice========");
String s2 =input.readLine();
int v =Integer.parseInt(s2);
if(v==2)
{
System.out.println("~~~~~~~~ YOU ARE ON THE RIGHT TRACK! ~~~~~~~~~~~");
sc=sc+50;
System.out.println("your score is "+sc);
}
else
System.out.println("^^^^^^^^^SORRY! BETTER LUCK NEXT TIME! THE CORRECT
ANSWER IS RAJIV GANDHI KHEL RATNA.^^^^^^^^^^^");
System.out.println();
System.out.println("*****WHICH TEAM WON THE FIRST INDIAN PRIMIER LEAGUE
?*****");
System.out.println("##### 1.KOLKATA KNIGHTRIDERS #####");
System.out.println("##### 2.KINGS XI PUNJAB #####");
System.out.println("##### 3.CHENNAI SUPERKINGS #####");
System.out.println("##### 4.RAJASTHAN ROYALS #####");
System.out.println("========Enter the choice========");
String s3 =input.readLine();

int v1 =Integer.parseInt(s3);
if(v1==4)
{
System.out.println("~~~~~~~~ YOU ARE ON THE RIGHT TRACK! ~~~~~~~~~~~"
);
sc=sc+50;
System.out.println("your score is "+sc);
}
else
System.out.println("^^^^^^^^^SORRY! BETTER LUCK NEXT TIME! THE CORRECT
ANSWER IS RAJASTHAN ROYALS.^^^^^^^^^^^");
System.out.println();
System.out.println("*****WHEN DID INDIA WIN FIRST GOLD CUP IN OLYMPICS
?*****");
System.out.println("##### 1.IN 1928 #####");
System.out.println("##### 2.IN 1932 #####");
System.out.println("##### 3.IN 1920 #####");
System.out.println("##### 4.IN 1916 #####");
System.out.println("========Enter the choice========");
String s4 =input.readLine();
int v2 =Integer.parseInt(s4);
if(v2==1)
{
System.out.println("~~~~~~~~ YOU ARE ON THE RIGHT TRACK! ~~~~~~~~~~~"
);
sc=sc+50;
System.out.println("your score is "+sc);
}
else
System.out.println("^^^^^^^^^SORRY! BETTER LUCK NEXT TIME! THE CORRECT
ANSWER IS IN 1928.^^^^^^^^^^^");
System.out.println();
System.out.println("*****WHO WAS THE FIRST INDIAN TO WIN BADMINTON WOR
LD CUP?*****");
System.out.println("##### 1.PRAKASH NATH #####");
System.out.println("##### 2.VIJAY MADGAVKAR #####");
System.out.println("##### 3.P.GOPICHAND #####");
System.out.println("##### 4.PRAKASH PADUKONE #####");
System.out.println("========Enter the choice========");
String s5 =input.readLine();
int v3 =Integer.parseInt(s5);
if(v3==4)
{
System.out.println("~~~~~~~~ YOU ARE ON THE RIGHT TRACK! ~~~~~~~~~~~"
);
sc=sc+50;
System.out.println("your score is "+sc);
}
else
System.out.println("^^^^^^^^^SORRY! BETTER LUCK NEXT TIME! THE CORRECT
ANSWER IS PRAKASH PADUKONE.^^^^^^^^^^^");
System.out.println();
System.out.println("*****HOW MANY TIMES INDIA HAD WON ASIACUP IN HOCKE
Y?*****");
System.out.println("##### 1.ZERO #####");
System.out.println("##### 2.TWO #####");
System.out.println("##### 3.ONE #####");
System.out.println("##### 4.FOUR #####");
System.out.println("========Enter the choice========");
String s6 =input.readLine();

int v4 =Integer.parseInt(s6);
if(v4==3)
{
System.out.println("~~~~~~~~ YOU ARE ON THE RIGHT TRACK! ~~~~~~~~~~~"
);
sc=sc+50;
System.out.println("your score is "+sc);
}
else
System.out.println("^^^^^^^^^SORRY! BETTER LUCK NEXT TIME! THE CORRECT
ANSWER IS ONE.^^^^^^^^^^^");
System.out.println();
System.out.println("*****WHAT WAS CRICKET ONCE CALLED?*****");
System.out.println("##### 1.POONA #####");
System.out.println("##### 2.MINTON #####");
System.out.println("##### 3.RACKET GAME #####");
System.out.println("##### 4.BINTON #####");
System.out.println("========Enter the choice========");
String s7 =input.readLine();
int v0 =Integer.parseInt(s7);
if(v0==1)
{
System.out.println("~~~~~~~~ YOU ARE ON THE RIGHT TRACK! ~~~~~~~~~~~"
);
sc=sc+50;
System.out.println("your score is "+sc);
}
else
System.out.println("^^^^^^^^^SORRY! BETTER LUCK NEXT TIME! THE CORRECT
ANSWER IS POONA .^^^^^^^^^^^");
System.out.println();
System.out.println("*****IN 2008, WHICH COUNTRY WON THE THOMAS CUP IN
BADMINTON?*****");
System.out.println("##### 1.CHINA #####");
System.out.println("##### 2.ENGLAND #####");
System.out.println("##### 3.AUSTRALIA #####");
System.out.println("##### 4.INDIA #####");
System.out.println("========Enter the choice========");
String s8 =input.readLine();
int v10 =Integer.parseInt(s8);
if(v10==1)
{
System.out.println("~~~~~~~~ YOU ARE ON THE RIGHT TRACK! ~~~~~~~~~~~"
);
sc=sc+50;
System.out.println("your score is "+sc);
}
else
System.out.println("^^^^^^^^^SORRY! BETTER LUCK NEXT TIME! THE CORRECT
ANSWER IS CHINA .^^^^^^^^^^^");
System.out.println();
System.out.println("*****WHERE WAS THE FIRST EVER CRICKET TEST MATCH H
ELD IN INDIA?*****");
System.out.println("##### 1.K.D.SINGH BABU STADIUM #####");
System.out.println("##### 2.BOMBAY GIMKHANA #####");
System.out.println("##### 3.EDEN GARDENS CRICKET STADIUM #####");
System.out.println("##### 4.CHEPAUK STADIUM #####");
System.out.println("========Enter the choice========");
String s9 =input.readLine();
int v5 =Integer.parseInt(s9);

if(v5==2)
{
System.out.println("~~~~~~~~ YOU ARE ON THE RIGHT TRACK! ~~~~~~~~~~~"
);
sc=sc+50;
System.out.println("your score is "+sc);
}
else
System.out.println("^^^^^^^^^SORRY! BETTER LUCK NEXT TIME! THE CORRECT
ANSWER IS BOMBAY GIMKHANA .^^^^^^^^^^^");
System.out.println();
System.out.println("*****WHO IS THE ONLY PLAYER TO HAVE WON THE GRAND
SLAM IN TENNIS,NOT ONCE,BUT TWICE?*****");
System.out.println("##### 1.PAULAMI GHATAK #####");
System.out.println("##### 2.ROGER FEDERER #####");
System.out.println("##### 3.A SHARAT KAMAL #####");
System.out.println("##### 4.ROD LAVER #####");
System.out.println("========Enter the choice========");
String s10 =input.readLine();
int v6 =Integer.parseInt(s10);
if(v6==4)
{
System.out.println("~~~~~~~~ YOU ARE ON THE RIGHT TRACK! ~~~~~~~~~~~"
);
sc=sc+50;
System.out.println("your score is "+sc);
}
else
System.out.println("^^^^^^^^^SORRY! BETTER LUCK NEXT TIME! THE CORRECT
ANSWER IS ROD LAVER .^^^^^^^^^^^");
System.out.println();
System.out.println("*****IN WHICH SPORT WOULD YOU BE PROFICIENT IF YOU
HAD 2,600 ELO POINTS?*****");
System.out.println("##### 1.SHOOTING #####");
System.out.println("##### 2.TENNIS #####");
System.out.println("##### 3.CHESS #####");
System.out.println("##### 4.SQUASH #####");
System.out.println("========Enter the choice========");
String s11 =input.readLine();
int v7 =Integer.parseInt(s11);
if(v7==3)
{
System.out.println("~~~~~~~~ YOU ARE ON THE RIGHT TRACK! ~~~~~~~~~~~"
);
sc=sc+50;
System.out.println("your score is "+sc);
}
else
System.out.println("^^^^^^^^^SORRY! BETTER LUCK NEXT TIME! THE CORRECT
ANSWER IS CHESS .^^^^^^^^^^^");
System.out.println();
System.out.println("*****TO WHICH SPORT IS SANTOSH TROPHY RELATED?****
*");
System.out.println("##### 1.HOCKEY #####");
System.out.println("##### 2.TENNIS #####");
System.out.println("##### 3.FOOT BALL #####");
System.out.println("##### 4.CRICKET #####");
System.out.println("========Enter the choice========");
String s12 =input.readLine();
int v8 =Integer.parseInt(s12);

if(v8==3)
{
System.out.println("~~~~~~~~ YOU ARE ON THE RIGHT TRACK! ~~~~~~~~~~~"
);
sc=sc+50;
System.out.println("your score is "+sc);
}
else
System.out.println("^^^^^^^^^SORRY! BETTER LUCK NEXT TIME! THE CORRECT
ANSWER IS FOOT BALL .^^^^^^^^^^^");
System.out.println();
System.out.println("*****HOW MANY PLAYERS ARE THERE IN THE GAME OF KHO
-KHO IN EACH TEAM?*****");
System.out.println("##### 1.ELEVEN #####");
System.out.println("##### 2.NINE #####");
System.out.println("##### 3.TEN #####");
System.out.println("##### 4.TWELVE #####");
System.out.println("========Enter the choice========");
String s13 =input.readLine();
int v9 =Integer.parseInt(s13);
if(v9==2)
{
System.out.println("~~~~~~~~ YOU ARE ON THE RIGHT TRACK! ~~~~~~~~~~~"
);
sc=sc+50;
System.out.println("your score is "+sc);
}
else
System.out.println("^^^^^^^^^SORRY! BETTER LUCK NEXT TIME! THE CORRECT
ANSWER IS NINE .^^^^^^^^^^^");
System.out.println();
System.out.println("%%%%%%FINALLY YOU HAVE SCORED ="+sc+"POINTS%%%%%%"
);
if(sc<300)
System.out.println("!!!!!sorry!we don't have any prize for you");
else
if(sc>=300 && sc<400)
System.out.println("#####congratulations!YOU WIN AN LCD TELIVISION.HU
RRAY!!#####");
else
if(sc>400 && sc<=600)
System.out.println("%%%%%%%%%%congratulations!YOU WIN TEN LAKH RUPEES
.LUCKY GUY! %%%%%%%%%%");
}
else
if(choice==2)
{
int sc=0;
System.out.println("*****HOW MANY PARTS ARE THERE IN INDIAN CONSTITUT
ION?*****");
System.out.println("##### 1.TWENTY #####");
System.out.println("##### 2.TWENTY TWO #####");
System.out.println("##### 3.TWENTY FIVE #####");
System.out.println("##### 4.THIRTY #####");
System.out.println("========Enter the choice========");
String y =input.readLine();
int e =Integer.parseInt(y);
if(e==2)
{
System.out.println("~~~~~~~~ YOU ARE ON THE RIGHT TRACK! ~~~~~~~~~~~"

);
sc=sc+50;
System.out.println("your score is "+sc);
}
else
System.out.println("^^^^^^^^^SORRY! BETTER LUCK NEXT TIME! THE CORRECT
ANSWER IS TWENTY TWO .^^^^^^^^^^^");
System.out.println();
System.out.println("*****WHICH STATE OF INDIA HAS THE LEAST POPULATION
?*****");
System.out.println("##### 1.SIKKIM #####");
System.out.println("##### 2.KERELA #####");
System.out.println("##### 3.JHARKHAND #####");
System.out.println("##### 4.RAJASTHAN #####");
System.out.println("========Enter the choice========");
String c =input.readLine();
int f =Integer.parseInt(c);
if(f==1)
{
System.out.println("~~~~~~~~ YOU ARE ON THE RIGHT TRACK! ~~~~~~~~~~~"
);
sc=sc+50;
System.out.println("your score is "+sc);
}
else
System.out.println("^^^^^^^^^SORRY! BETTER LUCK NEXT TIME! THE CORRECT
ANSWER IS SIKKIM .^^^^^^^^^^^");
System.out.println();
System.out.println("*****WHEN WAS THE FIRST SESSION OF PARLIAMENT IN F
REE INDIA HELD ?*****");
System.out.println("##### 1.MAY 11,1952 #####");
System.out.println("##### 2.JUNE 13,1952 #####");
System.out.println("##### 3.AUGAST 11,1952 #####");
System.out.println("##### 4.MAY 13,1952 #####");
System.out.println("========Enter the choice========");
String q =input.readLine();
int g =Integer.parseInt(q);
if(g==4)
{
System.out.println("~~~~~~~~ YOU ARE ON THE RIGHT TRACK! ~~~~~~~~~~~"
);
sc=sc+50;
System.out.println("your score is "+sc);
}
else
System.out.println("^^^^^^^^^SORRY! BETTER LUCK NEXT TIME! THE CORRECT
ANSWER IS MAY 13,1952 .^^^^^^^^^^^");
System.out.println();
System.out.println("*****WHICH INDIAN PRESIDENT REMAINED IN OFFICE FOR
THE SHORTEST PERIOD?*****");
System.out.println("##### 1.DR.ZAKIR HUSSAIN #####");
System.out.println("##### 2.FAKHRUDDIN ALI AHMED #####");
System.out.println("##### 3.GIANI ZAIL SINGH #####");
System.out.println("##### 4.VV GIRI #####");
System.out.println("========Enter the choice========");
String r =input.readLine();
int h =Integer.parseInt(r);
if(h==1)
{

System.out.println("~~~~~~~~ YOU ARE ON THE RIGHT TRACK! ~~~~~~~~~~~"


);
sc=sc+50;
System.out.println("your score is "+sc);
}
else
System.out.println("^^^^^^^^^SORRY! BETTER LUCK NEXT TIME! THE CORRECT
ANSWER IS DR.ZAKIR HUSSAIN .^^^^^^^^^^^");
System.out.println();
System.out.println("*****WHICH LOKSABHA SPEAKER HAD THR LONGEST TERM?*
****");
System.out.println("##### 1.NEELAM SANJEEV REDDY #####");
System.out.println("##### 2.SOMNATH CHATTERJEE #####");
System.out.println("##### 3.BALRAM JHAKHAR #####");
System.out.println("##### 4.GMC BALYOGI #####");
System.out.println("========Enter the choice========");
String s =input.readLine();
int i =Integer.parseInt(s);
if(i==3)
{
System.out.println("~~~~~~~~ YOU ARE ON THE RIGHT TRACK! ~~~~~~~~~~~"
);
sc=sc+50;
System.out.println("your score is "+sc);
}
else
System.out.println("^^^^^^^^^SORRY! BETTER LUCK NEXT TIME! THE CORRECT
ANSWER IS BALRAM JHAKHAR .^^^^^^^^^^^");
System.out.println();
System.out.println("*****WHO IS THE ONLY PERSON TO BECOME ACTING PRIME
MINISTER TWICE ?*****");
System.out.println("##### 1.P.V.NARSIMHA RAO #####");
System.out.println("##### 2.GULZARI LAL NANDA #####");
System.out.println("##### 3.I.K GUJRAL #####");
System.out.println("##### 4.V.P.SINGH #####");
System.out.println("========Enter the choice========");
String t =input.readLine();
int j =Integer.parseInt(s);
if(j==2)
{
System.out.println("~~~~~~~~ YOU ARE ON THE RIGHT TRACK! ~~~~~~~~~~~"
);
sc=sc+50;
System.out.println("your score is "+sc);
}
else
System.out.println("^^^^^^^^^SORRY! BETTER LUCK NEXT TIME! THE CORRECT
ANSWER IS .^^^^^^^^^^");
System.out.println();
System.out.println("***** WHEN DID L.B.SHASTRI BECOME THE PRESIDENT OF
INDIA? *****");
System.out.println("##### 1.1960 #####");
System.out.println("##### 2.1962 #####");
System.out.println("##### 3.1967 #####");
System.out.println("##### 4.1965 #####");
System.out.println("========Enter the choice========");
String u =input.readLine();
int k =Integer.parseInt(s);
if(k==2)
{

System.out.println("~~~~~~~~ YOU ARE ON THE RIGHT TRACK! ~~~~~~~~~~~"


);
sc=sc+50;
System.out.println("your score is "+sc);
}
else
System.out.println("^^^^^^^^^SORRY! BETTER LUCK NEXT TIME! THE CORRECT
ANSWER IS 1962 .^^^^^^^^^^^");
System.out.println();
System.out.println("*****WHO SAID-'POLITICS MEANS-CHARCHA,PARCHA,KHARC
HA'?*****");
System.out.println("##### 1.K.R.NARAYANAN #####");
System.out.println("##### 2.ATAL BIHARI VAJPAYEE #####");
System.out.println("##### 3.LALU PRASAD YADAV #####");
System.out.println("##### 4.MULAYAM SINGH YADAV #####");
System.out.println("========Enter the choice========");
String v =input.readLine();
int l =Integer.parseInt(s);
if(l==4)
{
System.out.println("~~~~~~~~ YOU ARE ON THE RIGHT TRACK! ~~~~~~~~~~~"
);
sc=sc+50;
System.out.println("your score is "+sc);
}
else
System.out.println("^^^^^^^^^SORRY! BETTER LUCK NEXT TIME! THE CORRECT
ANSWER IS MULAYAM SINGH YADAV .^^^^^^^^^^^");
System.out.println();
System.out.println("*****WHAT IS THE AGE OF RETIREMENT OF JUDGES IN SU
PREME COURT?*****");
System.out.println("##### 1.SIXTY #####");
System.out.println("##### 2.SIXTY TWO #####");
System.out.println("##### 3.SIXTY FIVE #####");
System.out.println("##### 4.SEVENTY #####");
System.out.println("========Enter the choice========");
String w =input.readLine();
int m =Integer.parseInt(s);
if(m==3)
{
System.out.println("~~~~~~~~ YOU ARE ON THE RIGHT TRACK! ~~~~~~~~~~~"
);
sc=sc+50;
System.out.println("your score is "+sc);
}
else
System.out.println("^^^^^^^^^SORRY! BETTER LUCK NEXT TIME! THE CORRECT
ANSWER IS SIXTY FIVE .^^^^^^^^^^^");
System.out.println();
System.out.println("*****WHICH PART OF CONSTITUTION DEALS WITH FUNDAME
NTAL RIGHTS OF INDIAN CITIZENS?*****");
System.out.println("##### 1.PART-1 #####");
System.out.println("##### 2.PART-2 #####");
System.out.println("##### 3.PART-3 #####");
System.out.println("##### 4.PART-4 #####");
System.out.println("========Enter the choice========");
String x =input.readLine();
int n =Integer.parseInt(s);
if(n==3)
{

System.out.println("~~~~~~~~ YOU ARE ON THE RIGHT TRACK! ~~~~~~~~~~~"


);
sc=sc+50;
System.out.println("your score is "+sc);
}
else
System.out.println("^^^^^^^^^SORRY! BETTER LUCK NEXT TIME! THE CORRECT
ANSWER IS PART-3 .^^^^^^^^^^^");
System.out.println();
System.out.println("%%%%%%%%%% FINALLY YOU HAVE SCORED ="+sc+"POINTS %
%%%%%%%%%");
if(sc<300)
System.out.println("!!!!!sorry!we don't have any prize for you");
else
if(sc>=300 && sc<400)
System.out.println("##### congratulations!YOU WIN AN LCD TELIVISION.H
URRAY!! #####");
else
if(sc>500 && sc<=600)
System.out.println("%%%%%%%%%% congratulations!YOU WIN TEN LAKH RUPEE
S .LUCKY GUY! %%%%%%%%%%");
}
else
if(choice==3)
{
int sc=0;
System.out.println("***** WHERE WILL THE NEXT WINTER OLYMPICS BE HELD
IN 2010? *****");
System.out.println("##### 1.BEIJING #####");
System.out.println("##### 2.CANADA #####");
System.out.println("##### 3.LONDON #####");
System.out.println("##### 4.HONG KONG #####");
System.out.println("========Enter the choice========");
String str1 =input.readLine();
int a1 =Integer.parseInt(str1);
if(a1==2)
{
System.out.println("~~~~~~~~ YOU ARE ON THE RIGHT TRACK! ~~~~~~~~~~~"
);
sc=sc+50;
System.out.println("your score is "+sc);
}
else
System.out.println("^^^^^^^^^SORRY! BETTER LUCK NEXT TIME! THE CORRECT
ANSWER IS CANADA .^^^^^^^^^^^");
System.out.println();
System.out.println("***** ON WHICH DATE EARTH DAY IS CELEBRATED? *****
");
System.out.println("##### 1.APRIL 22 #####");
System.out.println("##### 2.AUGUST 29 #####");
System.out.println("##### 3.FEBRUARY 28 #####");
System.out.println("##### 4.MAY 1 #####");
System.out.println("========Enter the choice========");
String str2 =input.readLine();
int a2 =Integer.parseInt(str2);
if(a2==1)
{
System.out.println("~~~~~~~~ YOU ARE ON THE RIGHT TRACK! ~~~~~~~~~~~"
);
sc=sc+50;

System.out.println("your score is "+sc);


}
else
System.out.println("^^^^^^^^^SORRY! BETTER LUCK NEXT TIME! THE CORRECT
ANSWER IS APRIL 22 .^^^^^^^^^^^");
System.out.println();
System.out.println("***** WHICH INSTRUMENT IS TRADITIONALLY ASSOCIATAD
WITH SCOTLAND? *****");
System.out.println("##### 1.CELLO #####");
System.out.println("##### 2.CLARINET #####");
System.out.println("##### 3.XYLOPHONE #####");
System.out.println("##### 4.BAGPIPE #####");
System.out.println("========Enter the choice========");
String str3 =input.readLine();
int a3 =Integer.parseInt(str3);
if(a3==4)
{
System.out.println("~~~~~~~~ YOU ARE ON THE RIGHT TRACK! ~~~~~~~~~~~"
);
sc=sc+50;
System.out.println("your score is "+sc);
}
else
System.out.println("^^^^^^^^^SORRY! BETTER LUCK NEXT TIME! THE CORRECT
ANSWER IS BAGPIPE .^^^^^^^^^^^");
System.out.println();
System.out.println("***** WHERE IS LITTLE MERMAID LOCATED? *****");
System.out.println("##### 1.TURKEY #####");
System.out.println("##### 2.DENMARK #####");
System.out.println("##### 3.SINGAPORE #####");
System.out.println("##### 4.RUSSIA #####");
System.out.println("========Enter the choice========");
String str4 =input.readLine();
int a4 =Integer.parseInt(str4);
if(a4==1)
{
System.out.println("~~~~~~~~ YOU ARE ON THE RIGHT TRACK! ~~~~~~~~~~~"
);
sc=sc+50;
System.out.println("your score is "+sc);
}
else
System.out.println("^^^^^^^^^SORRY! BETTER LUCK NEXT TIME! THE CORRECT
ANSWER IS TURKEY .^^^^^^^^^^^");
System.out.println();
System.out.println("***** WHICH COUNTRY IS KNOWN AS LAND OF RISING SUN
? *****");
System.out.println("##### 1.U.S.A #####");
System.out.println("##### 2.RUSSIA #####");
System.out.println("##### 3.JAPAN #####");
System.out.println("##### 4.AUSTRALIA #####");
System.out.println("========Enter the choice========");
String str5 =input.readLine();
int a5 =Integer.parseInt(str5);
if(a5==3)
{
System.out.println("~~~~~~~~ YOU ARE ON THE RIGHT TRACK! ~~~~~~~~~~~"
);
sc=sc+50;

System.out.println("your score is "+sc);


}
else
System.out.println("^^^^^^^^^SORRY! BETTER LUCK NEXT TIME! THE CORRECT
ANSWER IS .^^^^^^^^^^^");
System.out.println();
System.out.println("***** SCIENTIFICALLY,WHICH OF THESE IS NOT A TREE?
*****");
System.out.println("##### 1.TEAK #####");
System.out.println("##### 2.BAMBOO #####");
System.out.println("##### 3.BANYAN #####");
System.out.println("##### 4.BALSAM #####");
System.out.println("========Enter the choice========");
String str6 =input.readLine();
int a6 =Integer.parseInt(str6);
if(a6==2)
{
System.out.println("~~~~~~~~ YOU ARE ON THE RIGHT TRACK! ~~~~~~~~~~~"
);
sc=sc+50;
System.out.println("your score is "+sc);
}
else
System.out.println("^^^^^^^^^SORRY! BETTER LUCK NEXT TIME! THE CORRECT
ANSWER IS BAMBOO.^^^^^^^^^^");
System.out.println();
System.out.println("***** WHAT DOES THE MOHS SCALE MEASURE? *****");
System.out.println("##### 1.DENSITY #####");
System.out.println("##### 2.HARDNESS #####");
System.out.println("##### 3.VELOCITY #####");
System.out.println("##### 4.THICKNESS #####");
System.out.println("========Enter the choice========");
String str7 =input.readLine();
int a7 =Integer.parseInt(str7);
if(a7==2)
{
System.out.println("~~~~~~~~ YOU ARE ON THE RIGHT TRACK! ~~~~~~~~~~~"
);
sc=sc+50;
System.out.println("your score is "+sc);
}
else
System.out.println("^^^^^^^^^SORRY! BETTER LUCK NEXT TIME! THE CORRECT
ANSWER IS HARDNESS .^^^^^^^^^^^");
System.out.println();
System.out.println("***** WHICH GOD IS WORSHIPPED FIRST ACCORDING TO H
INDU MYTHOLOGY? *****");
System.out.println("##### 1.BRAHMA #####");
System.out.println("##### 2.VISHNU #####");
System.out.println("##### 3.SHIVA #####");
System.out.println("##### 4.GANESH #####");
System.out.println("========Enter the choice========");
String str8 =input.readLine();
int a8 =Integer.parseInt(str8);
if(a8==4)
{
System.out.println("~~~~~~~~ YOU ARE ON THE RIGHT TRACK! ~~~~~~~~~~~"
);
sc=sc+50;
System.out.println("your score is "+sc);

}
else
System.out.println("^^^^^^^^^SORRY! BETTER LUCK NEXT TIME! THE CORRECT
ANSWER IS GANESH.^^^^^^^^^^^");
System.out.println();
System.out.println("***** WHAT IS THE MOST COMMON ELEMENT BOTH IN THE
UNIVERSE AND THE SOLAR SYSTEM? *****");
System.out.println("##### 1.HELIUM #####");
System.out.println("##### 2.OXYGEN #####");
System.out.println("##### 3.HYDROGEN #####");
System.out.println("##### 4.NITROGEN #####");
System.out.println("========Enter the choice========");
String str9 =input.readLine();
int a9 =Integer.parseInt(str9);
if(a9==3)
{
System.out.println("~~~~~~~~ YOU ARE ON THE RIGHT TRACK! ~~~~~~~~~~~"
);
sc=sc+50;
System.out.println("your score is "+sc);
}
else
System.out.println("^^^^^^^^^SORRY! BETTER LUCK NEXT TIME! THE CORRECT
ANSWER IS HYDROGEN .^^^^^^^^^^^");
System.out.println();
System.out.println("***** WHICH RIVER IN EUROPE IS REFFERED TO AS 'W'?
*****");
System.out.println("##### 1.VOLGA #####");
System.out.println("##### 2.DENUBE #####");
System.out.println("##### 3.SIENE #####");
System.out.println("##### 4.RHINE #####");
System.out.println("========Enter the choice========");
String str10 =input.readLine();
int a10 =Integer.parseInt(str10);
if(a10==2)
{
System.out.println("~~~~~~~~ YOU ARE ON THE RIGHT TRACK! ~~~~~~~~~~~"
);
sc=sc+50;
System.out.println("your score is "+sc);
}
else
System.out.println("^^^^^^^^^SORRY! BETTER LUCK NEXT TIME! THE CORRECT
ANSWER IS DENUBE .^^^^^^^^^^^");
System.out.println();
System.out.println("%%%%%%%%%% FINALLY YOU HAVE SCORED ="+sc+"POINTS %
%%%%%%%%%");
if(sc<300)
System.out.println("!!!!!sorry!we don't have any prize for you");
else
if(sc>=300 && sc<400)
System.out.println("##### congratulations!YOU WIN AN LCD TELIVISION.H
URRAY!! #####");
else
if(sc>400 && sc<=500)
System.out.println("%%%%%%%%%% congratulations!YOU WIN TEN LAKH RUPEE
S .LUCKY GUY! %%%%%%%%%%");
}
else
System.out.println("@@@@@@@@@@@@ SORRY!WRONG CHOICE ENTERED @@@@@@@@@@

@@");
}
}

You might also like