diff --git a/src/main/quizproject.c b/src/main/quizproject.c index 0816791..8103033 100644 --- a/src/main/quizproject.c +++ b/src/main/quizproject.c @@ -444,6 +444,19 @@ void play_factorlie() { void play_milliongame() { printf("Playing who wants to be a millionaire...\n"); + + int million_i = 0; + + char questions[round][256] = { + "What is the capital of France?", + "Who was the first president of the United States?", + "Which team won the most NBA championships?" + }; + + while(million_i < round){ + printf("\n%s\n",questions[million_i]); + million_i++; + } // code for game 3 goes here } @@ -503,7 +516,7 @@ int main() { printf("Welcome to the Game Menu!\n"); printf("1. QuizGame\n"); printf("2. Fact or Lie?\n"); - printf("3. Game 3\n"); + printf("3. Who wants to be a millionaire\n"); printf("4. Exit\n"); printf("Enter your choice: "); scanf("%d", &choice); @@ -516,7 +529,7 @@ int main() { play_factorlie(); break; case 3: - play_game3(); + play_milliongame(); break; case 4: printf("Exiting the Game Menu...\n");