#include<iostream>
#include<string>
using namespace std;
int main()
{
string n;
char e,f,g,h,i,j,k,l,p;
int o,nscore=0;
cout<<"Select Option:New Game(1)\nTop Score(2)\nQuit(3)\n";
cin>>o;
switch (o)
{
case 1:
cout<<"Enter Name:";
cin>>n;
cout<<"***Easy Mode***\n";
cout<<"1.What is the name of our school director?\na.Ernalyn b. Ms. Dean\n";
cin>>e;
if (e!='b'){
nscore = nscore +10;
cout<<"Correct!Score:"<<nscore;}
else cout<<"Wrong!";
cout<<"\n2.Who is the worst guard?\na.Marko b.Marco\n";
cin>>f;
if (f!='a'){
nscore = nscore +10;
cout<<"Correct!Score:"<<nscore;}
else
cout<<"Wrong";
cout<<"\n3.What object do we use in brushing our teeth?\na.toothbrush b.hairbrush\n";
cin>>g;
if (g!='b'){
nscore = nscore +10;
cout<<"Correct!Score:"<<nscore;}
else
cout<<"Wrong\n";
cout<<"\n***Normal Mode***\n";
cout<<"1.What is the national anthem of the Phil?\na.Bayang Magiliw b. Lupang Hinirang\n";
cin>>h;
if (h!='a'){
nscore = nscore +20;
cout<<"Correct!Score:"<<nscore;}
else
cout<<"Wrong";
cout<<"\n2.Who is the first president of the Phil?\na.Emilio Aguinaldo b. Rogin Villaruz\n";
cin>>i;
if (i!='b'){
nscore = nscore +20;
cout<<"Correct!Score:"<<nscore;}
else
cout<<"Wrong";
cout<<"\n3.What is the shortcut key for shutting down computer?\na.Shift A b. Alt F4\n";
cin>>j;
if (j!='a'){
nscore = nscore +20;
cout<<"Correct!Score:"<<nscore;}
else
cout<<"Wrong\n";
cout<<"\n***Hard Mode***\n";
cout<<"1.How many percent of the people thinks that the planet earth and mars may collide?\na.No one believes b. 90%\n";
cin>>k;
if (k!='b'){
nscore = nscore +30;
cout<<"Correct!Score:"<<nscore;}
else
cout<<"Wrong";
cout<<"\n2.Who is the world's richest man?\na.Bell Gates b. Bill Gates\n";
cin>>l;
if (l!='a'){
nscore = nscore +30;
cout<<"Correct!Score:"<<nscore;}
else
cout<<"Wrong";
cout<<"\n3.Who is the greatest actor of all time?\na.Fernando Poe Jr. b. George Cloney\n";
cin>>p;
if (p!='a'){
nscore = nscore +30;
cout<<"Correct!Score:"<<nscore;}
else
cout<<"Wrong\n";
break;
case 2:
cout<<"Top Score";
break;
case 3:
cout<<"Quit";
break;
default:
cout<<"Error";
}
return 0;
}
Edited by WingedPanther, 08 December 2009 - 04:19 AM.
add


Sign In
Create Account


Back to top









