From da6346aee7df27819c64f7618d2334780e351d5a Mon Sep 17 00:00:00 2001 From: fdai7467 Date: Fri, 3 Feb 2023 15:37:16 +0100 Subject: [PATCH] =?UTF-8?q?Fragen=201-3=20f=C3=BCr=20Kategorie=20Rechnen?= =?UTF-8?q?=20Level=208?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main.c | 24 ++++++++++++++++++------ 1 file changed, 18 insertions(+), 6 deletions(-) diff --git a/src/main.c b/src/main.c index 33660cc..2c4b39f 100644 --- a/src/main.c +++ b/src/main.c @@ -606,29 +606,41 @@ int main() Question rechnenQst83= {.question = "2 x 4", .answer = "8"}; Question rechnenQst84= {.question = "3 x 5 ", .answer = "15"}; + Level rechnenlevel7 = + { + .questions = + { + rechnenQst73, rechnenQst74, rechnenQst75, rechnenQst76, rechnenQst77, rechnenQst78, rechnenQst79, rechnenQst80, rechnenQst81, rechnenQst82, rechnenQst83, rechnenQst84 + }, + .size = 12 + }; + Question rechnenQst85= {.question = "2 x 3 x 4", .answer = "24"}; + Question rechnenQst86= {.question = "5 x 6 x 7", .answer = "210"}; + Question rechnenQst87= {.question = "8 x 9 x 10", .answer = "720"}; - - Level rechnenlevel7 = + + + Level rechnenlevel8 = { .questions = { - rechnenQst73, rechnenQst74, rechnenQst75, rechnenQst76, rechnenQst77, rechnenQst78, rechnenQst79, rechnenQst80, rechnenQst81, rechnenQst82, rechnenQst83, rechnenQst84 + rechnenQst85, rechnenQst86, rechnenQst87, }, - .size = 12 + .size = 3 }; Category rechnen = { - .size = 7, // size = Anzahl Level + .size = 8, // size = Anzahl Level .name = "Kopfrechnen", .lvlQuestions = { - rechnenlevel1, rechnenlevel2, rechnenlevel3, rechnenlevel4, rechnenlevel5, rechnenlevel6, rechnenlevel7, + rechnenlevel1, rechnenlevel2, rechnenlevel3, rechnenlevel4, rechnenlevel5, rechnenlevel6, rechnenlevel7, rechnenlevel8 } };