diff --git a/build/test/results/test_casualQuiz.pass b/build/test/results/test_casualQuiz.pass index 120feca..978c671 100644 --- a/build/test/results/test_casualQuiz.pass +++ b/build/test/results/test_casualQuiz.pass @@ -11,4 +11,4 @@ :failed: 0 :ignored: 0 :stdout: [] -:time: 0.016901499999221414 +:time: 0.01849400000355672 diff --git a/build/test/results/test_quizduell.pass b/build/test/results/test_quizduell.pass index a1ea7e2..0cbc1d0 100644 --- a/build/test/results/test_quizduell.pass +++ b/build/test/results/test_quizduell.pass @@ -11,4 +11,4 @@ :failed: 0 :ignored: 0 :stdout: [] -:time: 0.015783299997565337 +:time: 0.01689270000497345 diff --git a/build/test/results/test_timequiz.pass b/build/test/results/test_timequiz.pass index b7990e7..3374c50 100644 --- a/build/test/results/test_timequiz.pass +++ b/build/test/results/test_timequiz.pass @@ -11,4 +11,4 @@ :failed: 0 :ignored: 0 :stdout: [] -:time: 0.01482340000802651 +:time: 0.016173199997865595 diff --git a/build/test/results/test_wwm.pass b/build/test/results/test_wwm.pass index cadf2ed..f5ca489 100644 --- a/build/test/results/test_wwm.pass +++ b/build/test/results/test_wwm.pass @@ -11,4 +11,4 @@ :failed: 0 :ignored: 0 :stdout: [] -:time: 0.01759719999972731 +:time: 0.016555199996219017 diff --git a/src/casualQuiz.c b/src/casualQuiz.c index 17df2bd..a073817 100644 --- a/src/casualQuiz.c +++ b/src/casualQuiz.c @@ -22,5 +22,9 @@ void casualQuiz() { return; } 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]); + } } +