@ -19,10 +19,17 @@ 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(){
displayWelcomeMessage();
@ -2,5 +2,6 @@
#define QUIZPROJECT_H
void displayWelcomeMessage(void);
void displayGameInstructions(char name[]);
#endif