Advertisement
Guest User

Untitled

a guest
Oct 16th, 2019
98
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.88 KB | None | 0 0
  1. string q_and_a[5][2];
  2. {
  3. q_and_a[0][0] = "Question #0 ($100): Who founded the theory of General Relativity?",
  4. q_and_a[1][0] = "Question #1 ($200): What was Ringo Starr's alias in the Beatles's album \"Sgt. Pepper's Lonely Hearts Club Band\"?",
  5. q_and_a[2][0] = "Question #2 ($1000): Where did Mark Zuckerberg, creator of Facebook, drop out of college from?",
  6. q_and_a[3][0] = "Question #3 ($100000: What year the Treaty of Versailles, the treaty that ended WWI, signed?",
  7. q_and_a[4][0] = "Question #4 ($1000000): The volcano known as Eyjafjallajokull, is closest to what Icelandic city?",
  8. q_and_a[0][1] = "Albert Einstein",
  9. q_and_a[1][1] = "Billy Shears",
  10. q_and_a[2][1] = "Harvard",
  11. q_and_a[3][1] = "1919",
  12. q_and_a[4][1] = "Kópavogur";
  13. }
  14.  
  15. int i = 0;
  16. for (i = 0; i < 4; i++)
  17. {
  18. int j = 0;
  19. for (j = 0; j < 4; j++)
  20. cout << q_and_a[i][j] << endl;
  21. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement