diff --git a/src/main/quizproject.c b/src/main/quizproject.c index 8d4e1d0..04fdef4 100644 --- a/src/main/quizproject.c +++ b/src/main/quizproject.c @@ -49,12 +49,17 @@ void displayLifelineInstructions(void) { printf("\t\t>>'H' Hint: Reveals a hint for the answer.<<\n"); } +void displayInstructions(void) { + displayWelcomeMessage(); + displayLifelineInstructions(); +} + + int main(){ - displayWelcomeMessage(); - displayLifelineInstructions(); + displayInstructions(); return 0; } diff --git a/src/main/quizproject.h b/src/main/quizproject.h index 484583d..3180e8b 100644 --- a/src/main/quizproject.h +++ b/src/main/quizproject.h @@ -4,5 +4,6 @@ void displayWelcomeMessage(void); void displayGameInstructions(char name[]); void displayLifelineInstructions(void); +void displayInstructions(void); #endif