From e4cfa5f49d184ba7c25a129c6e70befaccf7188f Mon Sep 17 00:00:00 2001 From: Christian Reum Date: Tue, 6 Feb 2024 20:30:19 +0100 Subject: [PATCH] =?UTF-8?q?functional=2019:=20array=20f=C3=BCr=20Antworten?= =?UTF-8?q?=206-15?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/wwm.c | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/src/wwm.c b/src/wwm.c index f7fa8a0..9ceb782 100644 --- a/src/wwm.c +++ b/src/wwm.c @@ -94,6 +94,15 @@ void wwm(){ "What is the chemical symbol for silver?" }; + const char* answers2[][4] = { + {"1989", "1998", "1994", "1990"}, + {"Buenos Aires", "Sao Paulo", "Brasilia", "Rio de Janeiro"}, + {"Thomas Edison", "Marie Curie", "Isaac Newton", "Albert Einstein"}, + {"Australia", "Greenland", "Madascar", "Borneo"}, + {"Au", "Ag", "Su", "Si"} + }; + + for (int r = 1; r <= 16; r++){ if (r == 16) { printf("Congratulations ! You have won 1.000.000 $");