Browse Source

added displayGoodLuckMessage

main
fdlt3917 2 years ago
parent
commit
21835df79b
  1. 9
      src/main/quizproject.c
  2. 1
      src/main/quizproject.h

9
src/main/quizproject.c

@ -24,6 +24,14 @@ void displayWelcomeMessage(void) {
} }
void displayGoodLuckMessage(void) {
printf("\t\t------------------------------------------\n\n");
printf("\t\t------------------------------------------\n\n");
printf("\t\t GOOD LUCK! \n\n");
printf("\t\t------------------------------------------\n");
printf("\t\t------------------------------------------\n\n");
}
void displayGameInstructions(char name[]) { void displayGameInstructions(char name[]) {
printf("\t\t------------------------------------------\n\n"); printf("\t\t------------------------------------------\n\n");
printf("\t\t------------------------------------------\n\n"); printf("\t\t------------------------------------------\n\n");
@ -52,6 +60,7 @@ void displayLifelineInstructions(void) {
void displayInstructions(void) { void displayInstructions(void) {
displayWelcomeMessage(); displayWelcomeMessage();
displayLifelineInstructions(); displayLifelineInstructions();
displayWelcomeMessage();
} }

1
src/main/quizproject.h

@ -5,5 +5,6 @@ void displayWelcomeMessage(void);
void displayGameInstructions(char name[]); void displayGameInstructions(char name[]);
void displayLifelineInstructions(void); void displayLifelineInstructions(void);
void displayInstructions(void); void displayInstructions(void);
void displayGoodLuckMessage(void);
#endif #endif
Loading…
Cancel
Save