diff --git a/src/main/quizproject.c b/src/main/quizproject.c index e978b70..3169bb4 100644 --- a/src/main/quizproject.c +++ b/src/main/quizproject.c @@ -19,9 +19,16 @@ void displayWelcomeMessage(void) { char name[100] = {0}; printf("\t\t Please enter your First Name \n"); scanf("%s", name); + displayGameInstructions(name); } } + +void displayGameInstructions(char name[]) { + printf("\t\t Hello %s \n\n", name); + printf("\t\t To start this game, here are the instructions\n\n"); +} + int main(){ diff --git a/src/main/quizproject.h b/src/main/quizproject.h index bc8964a..1d491f5 100644 --- a/src/main/quizproject.h +++ b/src/main/quizproject.h @@ -2,5 +2,6 @@ #define QUIZPROJECT_H void displayWelcomeMessage(void); +void displayGameInstructions(char name[]); #endif