From b4518ab37079c32d488e0468b36c0fded74088de Mon Sep 17 00:00:00 2001 From: fdai7467 Date: Fri, 3 Feb 2023 14:59:08 +0100 Subject: [PATCH] =?UTF-8?q?Fragen=201-3=20f=C3=BCr=20Kategorie=20Rechnen?= =?UTF-8?q?=20Level=203?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main.c | 17 +++++++++++++++-- 1 file changed, 15 insertions(+), 2 deletions(-) diff --git a/src/main.c b/src/main.c index 84bb949..4e5a5b8 100644 --- a/src/main.c +++ b/src/main.c @@ -493,14 +493,27 @@ int main() .size = 12 }; + Question rechnenQst25= {.question = "340 + 560 + 120", .answer = "1020"}; + Question rechnenQst26= {.question = "270 + 480 + 630", .answer = "1380"}; + Question rechnenQst27= {.question = "730 + 290 + 560", .answer = "1580"}; + + +Level rechnenlevel3 = + { + .questions = + { + rechnenQst25, rechnenQst26, rechnenQst27, + }, + .size = 3 + }; Category rechnen = { - .size = 1, // size = Anzahl Level + .size = 3, // size = Anzahl Level .name = "Kopfrechnen", .lvlQuestions = { - rechnenlevel1, rechnenlevel2, + rechnenlevel1, rechnenlevel2, rechnenlevel3, } };