diff --git a/src/main/quizproject.c b/src/main/quizproject.c index 614c164..c7c5720 100644 --- a/src/main/quizproject.c +++ b/src/main/quizproject.c @@ -829,10 +829,15 @@ void B_displayWelcomeMessage(void) { printf("\t\t------------------------------------------\n\n"); } +void B_sayhello(char name[]){ + printf("\t\t Hello %s \n\n", name); +} + void B_username(void) { char name[100] = {0}; printf("\t\t Please create a fun Username \n"); scanf("%s", name); + B_sayhello(name); } void b_entertostart() { diff --git a/src/main/quizproject.h b/src/main/quizproject.h index b8144a3..273391b 100644 --- a/src/main/quizproject.h +++ b/src/main/quizproject.h @@ -49,6 +49,7 @@ void B_displayWelcomeMessage(void); void B_username(void); void b_entertostart(void); int toupper(int _c); +void B_sayhello(char name[]); #define NUM_QUESTIONS 5 #define round 3