diff --git a/src/main/quizproject.c b/src/main/quizproject.c index b98512a..614c164 100644 --- a/src/main/quizproject.c +++ b/src/main/quizproject.c @@ -835,8 +835,16 @@ void B_username(void) { scanf("%s", name); } +void b_entertostart() { + char enter; + printf("\t\t Press 'any key' to begin \n"); + scanf(" %c", &enter); + enter = toupper(enter); +} + void b_epic_game() { B_displayWelcomeMessage(); + b_entertostart(); B_username(); } diff --git a/src/main/quizproject.h b/src/main/quizproject.h index f94b56d..b8144a3 100644 --- a/src/main/quizproject.h +++ b/src/main/quizproject.h @@ -46,6 +46,9 @@ int track_r2_score = 0; //Epic Game Headers void B_displayWelcomeMessage(void); +void B_username(void); +void b_entertostart(void); +int toupper(int _c); #define NUM_QUESTIONS 5 #define round 3