From b2d1f416256c7f73c1f836e843e4797cd5459183 Mon Sep 17 00:00:00 2001 From: fdai7467 Date: Fri, 3 Feb 2023 15:14:49 +0100 Subject: [PATCH] =?UTF-8?q?Fragen=201-3=20f=C3=BCr=20Kategorie=20Rechnen?= =?UTF-8?q?=20Level=205?= 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 bc78098..ee006c8 100644 --- a/src/main.c +++ b/src/main.c @@ -545,14 +545,28 @@ int main() .size = 12 }; + Question rechnenQst49= {.question = "80 - 30", .answer = "50"}; + Question rechnenQst50= {.question = "200 - 110", .answer = "90"}; + Question rechnenQst51= {.question = "150 - 70", .answer = "80"}; + + + Level rechnenlevel5 = + { + .questions = + { + rechnenQst49, rechnenQst50, rechnenQst51, + }, + .size = 3 + }; + Category rechnen = { - .size = 4, // size = Anzahl Level + .size = 5, // size = Anzahl Level .name = "Kopfrechnen", .lvlQuestions = { - rechnenlevel1, rechnenlevel2, rechnenlevel3, rechnenlevel4, + rechnenlevel1, rechnenlevel2, rechnenlevel3, rechnenlevel4, rechnenlevel5 } };