diff --git a/src/main/quizproject.c b/src/main/quizproject.c index f42d885..da9d3c3 100644 --- a/src/main/quizproject.c +++ b/src/main/quizproject.c @@ -670,16 +670,36 @@ void play_milliongame() { switch(million_user_answers[million_i]){ case 'A': - printf("\nYou inputed %c\n", million_user_answers[million_i]); + if(million_user_answers[million_i] == million_std_answers[million_i]){ + printf("\nCorrect!"); + } + else{ + printf("\nIncorrect!"); + } break; case 'B': - printf("\nYou inputed %c\n", million_user_answers[million_i]); + if(million_user_answers[million_i] == million_std_answers[million_i]){ + printf("\nCorrect!"); + } + else{ + printf("\nIncorrect!"); + } break; case 'C': - printf("\nYou inputed %c\n", million_user_answers[million_i]); + if(million_user_answers[million_i] == million_std_answers[million_i]){ + printf("\nCorrect!"); + } + else{ + printf("\nIncorrect!"); + } break; case 'D': - printf("\nYou inputed %c\n", million_user_answers[million_i]); + if(million_user_answers[million_i] == million_std_answers[million_i]){ + printf("\nCorrect!"); + } + else{ + printf("\nIncorrect!"); + } break; default: goto point_one;