Browse Source

Added Display Welcome message

main
fdlt3885 2 years ago
parent
commit
532bafc0d9
  1. 13
      src/main/quizproject.c
  2. 2
      src/main/quizproject.h

13
src/main/quizproject.c

@ -5,11 +5,18 @@
#include <string.h>
#include "quizproject.h"
void startMessage(void){
printf("Press Enter to Start the Game!\n");
void displayWelcomeMessage(void) {
printf("\t\t------------------------------------------\n\n");
printf("\t\t------------------------------------------\n\n");
printf("\t\t Welcome to The Quiz \n\n");
printf("\t\t------------------------------------------\n");
printf("\t\t------------------------------------------\n\n");
}
int main(){
startMessage();
displayWelcomeMessage();
return 0;
}

2
src/main/quizproject.h

@ -1,6 +1,6 @@
#ifndef QUIZPROJECT_H
#define QUIZPROJECT_H
void startMessage(void);
void displayWelcomeMessage(void);
#endif
Loading…
Cancel
Save