Browse Source

Funktion für Anzeige von Fragen und Antworten Struktur

remotes/origin/Pascal
Pascal Schneider 11 months ago
parent
commit
8d4d8b5492
  1. 4
      src/timequiz.c
  2. 1
      src/timequiz.h

4
src/timequiz.c

@ -8,6 +8,8 @@ void timequiz();
int getRandomQuestionIndex(int askedQuestions[], int totalQuestions);
void displayQuestion(char* question, char* answers[], int correctIndex);
void timequiz() {
printf("Welcome to our Time Quiz!\n");
@ -69,3 +71,5 @@ int getRandomQuestionIndex(int askedQuestions[], int totalQuestions) {
return questionIndex;
}
void displayQuestion(char* question, char* answers[], int correctIndex) {
}

1
src/timequiz.h

@ -3,5 +3,6 @@
void timequiz();
int getRandomQuestionIndex(int askedQuestions[], int totalQuestions);
void displayQuestion(char* question, char* answers[], int correctIndex);
#endif //ende TIMEQUIZ_H
Loading…
Cancel
Save