|
@ -25,7 +25,9 @@ void casualQuiz() { |
|
|
void activePlaying(char *fragen[], char *antworten[], int richtige_antwort[], int size ){ |
|
|
void activePlaying(char *fragen[], char *antworten[], int richtige_antwort[], int size ){ |
|
|
|
|
|
|
|
|
for (int i = 0; i < size; i++){ |
|
|
for (int i = 0; i < size; i++){ |
|
|
printf(" %s\n1) %s\n2) %s\n3) %s\n4) %s\n %d\n", fragen[i], antworten[4 * i + 0], antworten[4 * i + 1], antworten[4 * i + 2], antworten[4 * i + 3], richtige_antwort[i]); |
|
|
|
|
|
|
|
|
printf("1) %s\n2) %s\n3) %s\n4) %s\n %d\n", antworten[4 * i + 0], antworten[4 * i + 1], antworten[4 * i + 2], antworten[4 * i + 3], richtige_antwort[i]); |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
void FzeigeFragen(char *fragen[], int index){ |
|
|
|
|
|
printf("Question: %s\n", fragen[index]); |
|
|
|
|
|
} |