Professional Documents
Culture Documents
Rajah C++ Thing
Rajah C++ Thing
Rajah C++ Thing
Write your code in this editor and press "Run" button to compile and execute it.
*******************************************************************************/
#include <iostream>
int main()
char a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11, a12, a13, a14, a15, a16, a17, a18, a19, a20;
cout << " A) Trick question" << "\n B) United States" << "\n C) America"<< "\n D) Canada \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 << ( (a2 == 'C') || (a2 == 'c') ? "Correct \n" : "Incorrect \n" );
cout <<endl;
if (a2=='C'||a1=='c'){
pts++;
cout << "Your current score is: " << pts<< endl;
{
cout << " A) Jupiter" << "\n B) Neptune" << "\n C) Saturn"<< "\n D) Uranus \n";
cout << ( (a3 == 'C') || (a3 == 'c') ? "Correct \n" : "Incorrect \n" );
cout <<endl;
if (a3='C','c'){
pts++;
cout << "Your current score is: " << pts<< endl;
cout << " A) A Flock" << "\n B) A School" << "\n C) A Herd"<< "\n D) An Embarrassment \n";
cout << ( (a4 == 'D') || (a4 == 'd') ? "Correct \n" : "Incorrect \n" );
cout <<endl;
if (a4='D','d'){
pts++;
cout << "Your current score is: " << pts<< endl;
cout << " A) Philippine Eagle" << "\n B) Hawk" << "\n C) Peregerine Falcon"<< "\n D) Eurasian
Eagle-owl \n";
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 << "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 << ( (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 << ( (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 <<endl;
if (a8=='C'||a8=='c'){
pts+=3;
cout << "Your current score is: " << pts<< 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 << ( (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 << ( (a10 == 'D') || (a10 == 'd') ? "Correct \n" : "Incorrect \n" );
cout <<endl;
if (a10=='D'||a10=='d'){
pts+=5;
cout << "Your current score is: " << pts<< endl;
else{
else{
else{
else{
cout << "All people, regardless of sex and gender, are complicated.";
pts+3;
else{
return 0;