From e9c91b4d4b6e06fbe274da3f5cd5994565a20ab9 Mon Sep 17 00:00:00 2001 From: fdai7467 Date: Fri, 3 Feb 2023 15:51:03 +0100 Subject: [PATCH] =?UTF-8?q?Fragen=201-3=20f=C3=BCr=20Kategorie=20Rechnen?= =?UTF-8?q?=20Level=2010?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main.c | 18 ++++++++++++++++-- 1 file changed, 16 insertions(+), 2 deletions(-) diff --git a/src/main.c b/src/main.c index 0a70058..b1f8ec7 100644 --- a/src/main.c +++ b/src/main.c @@ -661,13 +661,27 @@ int main() .size = 12 }; + Question rechnenQst109= {.question = "840 ÷ 7", .answer = "120"}; + Question rechnenQst110= {.question = "720 ÷ 8", .answer = "90"}; + Question rechnenQst111= {.question = "1000 ÷ 10", .answer = "100"}; + + + Level rechnenlevel10 = + { + .questions = + { + rechnenQst109, rechnenQst110, rechnenQst111, + }, + .size = 3 + }; + Category rechnen = { - .size = 8, // size = Anzahl Level + .size = 10, // size = Anzahl Level .name = "Kopfrechnen", .lvlQuestions = { - rechnenlevel1, rechnenlevel2, rechnenlevel3, rechnenlevel4, rechnenlevel5, rechnenlevel6, rechnenlevel7, rechnenlevel8, rechnenlevel9 + rechnenlevel1, rechnenlevel2, rechnenlevel3, rechnenlevel4, rechnenlevel5, rechnenlevel6, rechnenlevel7, rechnenlevel8, rechnenlevel9, rechnenlevel10 } };