From 936dcda327635f36aba970f2c1ca15d42bd6593d Mon Sep 17 00:00:00 2001 From: fdai7467 Date: Fri, 3 Feb 2023 14:47:07 +0100 Subject: [PATCH] =?UTF-8?q?Fragen=201-3=20f=C3=BCr=20Kategorie=20Rechnen?= =?UTF-8?q?=20Level=202?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main.c | 24 +++++++++++++++++++----- 1 file changed, 19 insertions(+), 5 deletions(-) diff --git a/src/main.c b/src/main.c index 0893be3..ab25bcb 100644 --- a/src/main.c +++ b/src/main.c @@ -459,10 +459,6 @@ int main() Question rechnenQst11= {.question = "63 + 42", .answer = "105"}; Question rechnenQst12= {.question = "89 + 72", .answer = "161"}; - - - - Level rechnenlevel1 = { .questions = @@ -473,13 +469,31 @@ int main() .size = 12 }; + + Question rechnenQst13= {.question = "34 + 56 + 12", .answer = "102"}; + Question rechnenQst14= {.question = "27 + 48 + 63", .answer = "138"}; + Question rechnenQst15= {.question = "73 + 29 + 56", .answer = "158"}; + + + + + Level rechnenlevel2 = + { + .questions = + { + rechnenQst13, rechnenQst14, rechnenQst15, + }, + .size = 3 + }; + + Category rechnen = { .size = 1, // size = Anzahl Level .name = "Kopfrechnen", .lvlQuestions = { - rechnenlevel1, + rechnenlevel1, rechnenlevel2, } };