From 117e23672f1e6d2263334987a69af7592607fad9 Mon Sep 17 00:00:00 2001 From: fdai7467 Date: Fri, 3 Feb 2023 15:07:21 +0100 Subject: [PATCH] =?UTF-8?q?Fragen=201-3=20f=C3=BCr=20Kategorie=20Rechnen?= =?UTF-8?q?=20Level=204?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main.c | 21 ++++++++++++++++++--- 1 file changed, 18 insertions(+), 3 deletions(-) diff --git a/src/main.c b/src/main.c index 8f9794c..b1d7051 100644 --- a/src/main.c +++ b/src/main.c @@ -511,7 +511,7 @@ int main() -Level rechnenlevel3 = + Level rechnenlevel3 = { .questions = { @@ -520,13 +520,28 @@ Level rechnenlevel3 = .size = 12 }; + + Question rechnenQst37= {.question = "8 - 3", .answer = "5"}; + Question rechnenQst38= {.question = "20 - 11", .answer = "9"}; + Question rechnenQst39= {.question = "15 - 7", .answer = "8"}; + + Level rechnenlevel4 = + { + .questions = + { + rechnenQst37, rechnenQst38, rechnenQst39, + }, + .size = 3 + }; + + Category rechnen = { - .size = 3, // size = Anzahl Level + .size = 4, // size = Anzahl Level .name = "Kopfrechnen", .lvlQuestions = { - rechnenlevel1, rechnenlevel2, rechnenlevel3, + rechnenlevel1, rechnenlevel2, rechnenlevel3, rechnenlevel4, } };