diff --git a/src/main/quizproject.c b/src/main/quizproject.c index 3f056e9..acfb663 100644 --- a/src/main/quizproject.c +++ b/src/main/quizproject.c @@ -589,6 +589,7 @@ void play_milliongame() { printf("Playing who wants to be a millionaire...\n"); int million_i = 0; + char million_user_answers[round]; char million_std_answers[round] = {'B', 'A', 'A'}; char questions[round][256] = { @@ -607,6 +608,10 @@ void play_milliongame() { for(int j=0;j<4;j++){ printf("%s\n",answers[million_i][j]); } + + printf("Enter a valid Response: "); + scanf(" %c", &million_user_answers[million_i]); + million_i++; } // code for game 3 goes here