Browse Source

Funktion für Anzeige von Fragen und Antworten

remotes/origin/Pascal
Pascal Schneider 11 months ago
parent
commit
1ad10092c8
  1. 4
      src/timequiz.c

4
src/timequiz.c

@ -72,4 +72,8 @@ int getRandomQuestionIndex(int askedQuestions[], int totalQuestions) {
}
void displayQuestion(char* question, char* answers[], int correctIndex) {
printf("\nQuestion: %s\n", question);
for (int i = 0; i < 4; i++) {
printf("%d. %s\n", i + 1, answers[i]);
}
}
Loading…
Cancel
Save