Browse Source

added displayLifeLine Instruction function

main
parent
commit
86032d575f
  1. 7
      src/main/quizproject.c
  2. 1
      src/main/quizproject.h

7
src/main/quizproject.c

@ -43,11 +43,18 @@ void displayGameInstructions(char name[]) {
printf("\t\tYou may lose the game if not you don't have enough points to pass to the next round.\n\n");
printf("\t\tIf you use a lifeline and still choose the wrong answer, you lose the game.\n");
}
void displayLifelineInstructions(void) {
printf("\t\t>>You have the following lifelines available:<< \n");
printf("\t\t>>'F' 50-50: Eliminates two incorrect answers.<< \n");
printf("\t\t>>'H' Hint: Reveals a hint for the answer.<<\n");
}
int main(){
displayWelcomeMessage();
displayLifelineInstructions();
return 0;
}

1
src/main/quizproject.h

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