From 21835df79b5887e2c85fd3e739750f4cc0bd3ce1 Mon Sep 17 00:00:00 2001 From: fdlt3917 Date: Mon, 23 Jan 2023 11:16:12 +0000 Subject: [PATCH] added displayGoodLuckMessage --- src/main/quizproject.c | 11 ++++++++++- src/main/quizproject.h | 1 + 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/src/main/quizproject.c b/src/main/quizproject.c index 04fdef4..c0774a6 100644 --- a/src/main/quizproject.c +++ b/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(); } diff --git a/src/main/quizproject.h b/src/main/quizproject.h index 3180e8b..71536f3 100644 --- a/src/main/quizproject.h +++ b/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