|
|
@ -447,6 +447,22 @@ void play_game3() { |
|
|
|
// code for game 3 goes here |
|
|
|
} |
|
|
|
|
|
|
|
void feedbackForm(void){ |
|
|
|
int rating; |
|
|
|
char feedback[1000]; |
|
|
|
|
|
|
|
printf("\nQuick Feedback Form:\n\n"); |
|
|
|
printf("On a scale of 1 to 5, how would you rate the quiz? (1 being poor and 5 being excellent): "); |
|
|
|
scanf("%d", &rating); |
|
|
|
getchar(); |
|
|
|
printf("Please provide any additional feedback: "); |
|
|
|
fgets(feedback, sizeof(feedback), stdin); |
|
|
|
|
|
|
|
printf("\nThank you for your feedback!\n"); |
|
|
|
printf("Your rating: %d\n", rating); |
|
|
|
printf("Your feedback: %s", feedback); |
|
|
|
} |
|
|
|
|
|
|
|
int main() { |
|
|
|
int choice; |
|
|
|
printf("Welcome to the Game Menu!\n"); |
|
|
@ -498,7 +514,7 @@ int main() { |
|
|
|
default: |
|
|
|
printf("Invalid choice!\n"); |
|
|
|
} |
|
|
|
|
|
|
|
feedbackForm(); |
|
|
|
return 0; |
|
|
|
} |
|
|
|
|
|
|
|