diff --git a/src/main/quizproject.c b/src/main/quizproject.c index ac3f10a..900e6fc 100644 --- a/src/main/quizproject.c +++ b/src/main/quizproject.c @@ -613,6 +613,23 @@ void play_milliongame() { scanf(" %c", &million_user_answers[million_i]); million_user_answers[million_i] = toupper(million_user_answers[million_i]); + switch(million_user_answers[million_i]){ + case 'A': + printf("\nYou inputed %c\n", million_user_answers[million_i]); + break; + case 'B': + printf("\nYou inputed %c\n", million_user_answers[million_i]); + break; + case 'C': + printf("\nYou inputed %c\n", million_user_answers[million_i]); + break; + case 'D': + printf("\nYou inputed %c\n", million_user_answers[million_i]); + break; + default: + printf("\nInvalid Input\n"); + } + million_i++; } // code for game 3 goes here