diff --git a/src/main/quizproject.c b/src/main/quizproject.c index 900e6fc..80512f0 100644 --- a/src/main/quizproject.c +++ b/src/main/quizproject.c @@ -609,6 +609,8 @@ void play_milliongame() { printf("%s\n",answers[million_i][j]); } + point_one: + printf("Enter a valid Response: "); scanf(" %c", &million_user_answers[million_i]); million_user_answers[million_i] = toupper(million_user_answers[million_i]); @@ -627,7 +629,7 @@ void play_milliongame() { printf("\nYou inputed %c\n", million_user_answers[million_i]); break; default: - printf("\nInvalid Input\n"); + goto point_one; } million_i++;