diff --git a/src/main/quizproject.c b/src/main/quizproject.c index c7c5720..a708e47 100644 --- a/src/main/quizproject.c +++ b/src/main/quizproject.c @@ -847,10 +847,18 @@ void b_entertostart() { enter = toupper(enter); } +void B_userinfo(void){ + char info[100] = {0}; + printf("\t\t How old are you?\n"); + scanf("%d", &info); + printf("\t\t Nice!!!\n"); +} + void b_epic_game() { B_displayWelcomeMessage(); b_entertostart(); B_username(); + B_userinfo(); } diff --git a/src/main/quizproject.h b/src/main/quizproject.h index 273391b..ca33971 100644 --- a/src/main/quizproject.h +++ b/src/main/quizproject.h @@ -50,6 +50,7 @@ void B_username(void); void b_entertostart(void); int toupper(int _c); void B_sayhello(char name[]); +void B_userinfo(void); #define NUM_QUESTIONS 5 #define round 3