diff --git a/src/main/quizproject.c b/src/main/quizproject.c index 9841ff6..1d64408 100644 --- a/src/main/quizproject.c +++ b/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; } diff --git a/src/main/quizproject.h b/src/main/quizproject.h index 1b51c6d..a54718f 100644 --- a/src/main/quizproject.h +++ b/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