Browse Source

Added credits and minor fixes

main
fdlt3859 2 years ago
parent
commit
be49725d13
  1. 15
      src/main/quizproject.c
  2. 1
      src/main/quizproject.h

15
src/main/quizproject.c

@ -459,8 +459,18 @@ void feedbackForm(void){
fgets(feedback, sizeof(feedback), stdin);
printf("\nThank you for your feedback!\n");
printf("Your rating: %d\n", rating);
printf("Your feedback: %s", feedback);
printf("Your rating: %d/5\n", rating);
printf("Your feedback: %s\n", feedback);
}
void displayCredits(void) {
printf("*******************************\n");
printf("Thank you for playing our Game!\n");
printf("*******************************\n\n");
printf("This game was developed as a project for Hochschule Fulda. \nCreated by Vedant Bodhe, Emmanuel Afanyede, Berke Sevenler and Gabriel Tchakunte.\n\n");
printf("Special thanks to:\n");
printf("- Herr Thomas Papendieck (Lecturer: Programmiermethoden)\n");
printf("- Frau Monika Schak (Lecturer: Programming-1 in C)\n");
}
int main() {
@ -515,6 +525,7 @@ int main() {
printf("Invalid choice!\n");
}
feedbackForm();
displayCredits();
return 0;
}

1
src/main/quizproject.h

@ -22,6 +22,7 @@ void displayThankYouMessage(void);
int* randomNumber();
void hintForHardQuestions(int);
void feedbackForm(void);
void displayCredits(void);
#define NUM_QUESTIONS 5

Loading…
Cancel
Save