|
@ -22,5 +22,9 @@ void casualQuiz() { |
|
|
return; |
|
|
return; |
|
|
} |
|
|
} |
|
|
void activePlaying(char *fragen[], char *antworten[], int richtige_antwort[]){ |
|
|
void activePlaying(char *fragen[], char *antworten[], int richtige_antwort[]){ |
|
|
|
|
|
|
|
|
|
|
|
int length = sizeof(richtige_antwort)/sizeof(int); |
|
|
|
|
|
for (int i = 0; i < length; 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]); |
|
|
|
|
|
} |
|
|
} |
|
|
} |
|
|
|
|
|
|