Rajah C++ Thing

You might also like

Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 10

/******************************************************************************

Online C++ Compiler.

Code, Compile, Run and Debug C++ program online.

Write your code in this editor and press "Run" button to compile and execute it.

*******************************************************************************/

#include <iostream>

using namespace std;

int main()

int canswer, ganswer, pts=0;

const char *question;

char a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11, a12, a13, a14, a15, a16, a17, a18, a19, a20;

cout << "\t\t MULTIPLICATION\n";

cout << "\t\t Easy Questions\n";

cout << endl;

cout << "What is the capital of Washington, D.C. \n";

cout << " A) Trick question" << "\n B) United States" << "\n C) America"<< "\n D) Canada \n";

cout << "choose your answer: \n";

cin >> a1;


cout << ( (a1 == 'A') || (a1 == 'a') ? "Correct \n" : "Incorrect \n" );

cout <<endl;

if (a1=='A'||a1=='a'){

pts++;

cout << "Your current score is: " << pts<< endl;

cout << "Which language has the more native speakers: \n";

cout << " A) English" << "\n B) Chinese" << "\n C) Spanish"<< "\n D) Korean \n";

cout << "choose your answer: \n";

cin >> a2;

cout << ( (a2 == 'C') || (a2 == 'c') ? "Correct \n" : "Incorrect \n" );

cout <<endl;

if (a2=='C'||a1=='c'){

pts++;

cout << "Your current score is: " << pts<< endl;

cout << "Which planet has the most moons? \n";

{
cout << " A) Jupiter" << "\n B) Neptune" << "\n C) Saturn"<< "\n D) Uranus \n";

cout << "choose your answer: \n";

cin >> a3;

cout << ( (a3 == 'C') || (a3 == 'c') ? "Correct \n" : "Incorrect \n" );

cout <<endl;

if (a3='C','c'){

pts++;

cout << "Your current score is: " << pts<< endl;

cout << "What is a group of pandas known as? \n";

cout << " A) A Flock" << "\n B) A School" << "\n C) A Herd"<< "\n D) An Embarrassment \n";

cout << "choose your answer: \n";

cin >> a4;

cout << ( (a4 == 'D') || (a4 == 'd') ? "Correct \n" : "Incorrect \n" );

cout <<endl;

if (a4='D','d'){

pts++;

cout << "Your current score is: " << pts<< endl;

cout << "What is the world's fastest bird? \n";


{

cout << " A) Philippine Eagle" << "\n B) Hawk" << "\n C) Peregerine Falcon"<< "\n D) Eurasian
Eagle-owl \n";

cout << "choose your answer: \n";

cin >> a5;

cout << ( (a5 == 'C') || (a5 == 'c') ? "Correct \n" : "Incorrect \n" );

cout <<endl;

if (a5=='C'||a5=='c'){

pts++;

cout << "Your current score is: " << pts<< endl;

cout << "\t\t Moderate Questions\n";

cout << endl;

cout << "When Oliver asks you 'akin ka lang ha' what do you say? \n"; //moderate questions

cout << " A) Sayo lang" << "\n B) Opo" << "\n C) Uwu"<< "\n D) Oo \n";

cout << "choose your answer: \n";

cin >> a6;

cout << ( (a6 == 'A') || (a6 == 'a') ? "Correct \n" : "Incorrect \n" );

cout <<endl;

if (a6=='C'||a6=='c'){

pts+=3;
}

cout << "Your current score is: " << pts<< endl;

cout << "What company was initially know as 'Blue Ribbon Sports'? \n";

cout << " A) Adidas" << "\n B) Nike" << "\n C) Converse"<< "\n D) Puma \n";

cout << "choose your answer: \n";

cin >> a7;

cout << ( (a7 == 'B') || (a7 == 'b') ? "Correct \n" : "Incorrect \n" );

cout <<endl;

if (a7=='B'||a7=='b'){

pts+3;

cout << "Your current score is: " << pts<< endl;

cout << "Who discovered that the earth revolves around the sun? \n";

cout << " A) Susan B. Anthony" << "\n B) Joshua Lawrence Chamberlain" << "\n C) Nicolaus
Copernicus"<< "\n D) Douglas MacArthur \n";

cout << "choose your answer: \n";

cin >> a8;


cout << ( (a8 == 'C') || (a8 == 'c') ? "Correct \n" : "Incorrect \n" );

cout <<endl;

if (a8=='C'||a8=='c'){

pts+=3;

cout << "Your current score is: " << pts<< endl;

cout << "\t\t Difficult Questions\n";

cout << endl;

cout << "In what country would you find Mount Kilimanjaro \n"; //difficult

cout << " A) Tajakistan" << "\n B) Tanzania" << "\n C) Ethiopia"<< "\n D) Moscow \n";

cout << "choose your answer: \n";

cin >> a9;

cout << ( (a9 == 'B') || (a9 == 'b') ? "Correct \n" : "Incorrect \n" );

cout <<endl;

if (a9=='B'||a9=='b'){

pts+=5;

cout << "Your current score is: " << pts<< endl;

cout << "What geothermal Icelandic site has the same name as a 1980 movie? \n";

{
cout << " A) Xanada" << "\n B) The Shining" << "\n C) Heaven's Gate"<< "\n D) The Blue Lagoon \
n";

cout << "choose your answer: \n";

cin >> a10;

cout << ( (a10 == 'D') || (a10 == 'd') ? "Correct \n" : "Incorrect \n" );

cout <<endl;

if (a10=='D'||a10=='d'){

pts+=5;

cout << "Your current score is: " << pts<< endl;

cout << "\t\t TRUE OR FALSE\n";

cout << "\t\t Easy Questions\n";

cout << endl;

cout << "Water is wet.\n";

cout << "True or False.\n"<<endl;

cin >> a11;

if (a11 == 'F', 'f'){

cout << "Correct."<<endl;

else{

cout << "Incorrect."<<endl;


cout << "Stay in school, kids.";

cout << "Eggs came before chickens.\n";

cout << "True or False.\n"<<endl;

cin >> a12;

if (a11 == 'T', 't'){

cout << "Correct."<<endl;

else{

cout << "Incorrect."<<endl;

cout << "Never said it was a chicken egg.";

cout << "Video games cause bad behavior in children.\n";

cout << "True or False.\n"<<endl;

cin >> a11;

if (a13 == 'F', 'f'){

cout << "Correct."<<endl;

else{

cout << "Incorrect."<<endl;


cout << "Only when the lag is so bad it moves at 1fps.";

cout << "Women are more complicated than men.\n";

cout << "True or False.\n"<<endl;

cin >> a11;

if (a13 == 'F', 'f'){

cout << "Correct.";

else{

cout << "Incorrect.";

cout << "All people, regardless of sex and gender, are complicated.";

cout << "Who are more complicated - men or women?\n";

cout << "True or False.\n"<<endl;

cin >> a11;

if (a13 == 'F', 'f'){

cout << "Correct.";

pts+3;

else{

cout << "Incorrect.";


cout << "All people, regardless of sex and gender, are complicated.";

return 0;

You might also like