From 75448a68a24792a918f71e6e2b394dd394307cd3 Mon Sep 17 00:00:00 2001 From: fdai7467 Date: Fri, 3 Feb 2023 15:29:42 +0100 Subject: [PATCH] =?UTF-8?q?Fragen=201-3=20f=C3=BCr=20Kategorie=20Rechnen?= =?UTF-8?q?=20Level=207?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main.c | 22 ++++++++++++++++++++-- 1 file changed, 20 insertions(+), 2 deletions(-) diff --git a/src/main.c b/src/main.c index 5161e10..ad948a0 100644 --- a/src/main.c +++ b/src/main.c @@ -593,13 +593,31 @@ int main() }; + Question rechnenQst73= {.question = "2 x 3", .answer = "6"}; + Question rechnenQst74= {.question = "4 x 5", .answer = "20"}; + Question rechnenQst75= {.question = "6 x 7", .answer = "42"}; + + + + + + Level rechnenlevel7 = + { + .questions = + { + rechnenQst73, rechnenQst74, rechnenQst75, + }, + .size = 3 + }; + + Category rechnen = { - .size = 6, // size = Anzahl Level + .size = 7, // size = Anzahl Level .name = "Kopfrechnen", .lvlQuestions = { - rechnenlevel1, rechnenlevel2, rechnenlevel3, rechnenlevel4, rechnenlevel5, rechnenlevel6 + rechnenlevel1, rechnenlevel2, rechnenlevel3, rechnenlevel4, rechnenlevel5, rechnenlevel6, rechnenlevel7, } };