Browse Source

added press any key to start (epic game)

main
fdlt3885 2 years ago
parent
commit
9ea810ac68
  1. 8
      src/main/quizproject.c
  2. 3
      src/main/quizproject.h

8
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();
}

3
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

Loading…
Cancel
Save