#include "stdafx.h" #include #include using namespace std; int main() { string answer; int score; score = 0; /********** QUESTION #1 START *******************/ cout << "Who was the first computer programmer?\n"; cout << "A) Mark Zuckerberg\n"; cout << "B) George Washington\n"; cout << "C) Ada Lovelace\n"; cout << "D) Linus Torvalds\n"; cout << "Please enter A-D: "; cin >> answer; if ((answer == "C") || (answer == "c")) { cout << "Correct!\n"; score = score + 1; } else { cout << "Sorry that is wrong!\n"; } /********** QUESTION #1 END *******************/ /* MORE QUESTIONS GO HERE ..... */ cout << "Your final score is " << score << "!\n"; return 0; }