Browse Source

added answer options - Millionaire

main
fdlt3917 2 years ago
parent
commit
9c00a14132
  1. 8
      src/main/quizproject.c

8
src/main/quizproject.c

@ -452,9 +452,17 @@ void play_milliongame() {
"Who was the first president of the United States?", "Who was the first president of the United States?",
"Which team won the most NBA championships?" "Which team won the most NBA championships?"
}; };
char answers[round][4][256] = {
{ "A) Berlin", "B) Paris", "C) London", "D) Rome" },
{ "A) George Washington", "B) John Adams", "C) Thomas Jefferson", "D) James Madison" },
{ "A) Los Angeles Lakers", "B) Chicago Bulls", "C) Golden State Warriors", "D) Boston Celtics" },
};
while(million_i < round){ while(million_i < round){
printf("\n%s\n",questions[million_i]); printf("\n%s\n",questions[million_i]);
for(int j=0;j<4;j++){
printf("%s\n",answers[million_i][j]);
}
million_i++; million_i++;
} }
// code for game 3 goes here // code for game 3 goes here

Loading…
Cancel
Save