Browse Source

added displayGoodLuckMessage

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

11
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[]) {
printf("\t\t------------------------------------------\n\n");
printf("\t\t------------------------------------------\n\n");
@ -51,7 +59,8 @@ void displayLifelineInstructions(void) {
void displayInstructions(void) {
displayWelcomeMessage();
displayLifelineInstructions();
displayLifelineInstructions();
displayWelcomeMessage();
}

1
src/main/quizproject.h

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