From a69c86d902bd391ac0630932a0020b3899f7fb48 Mon Sep 17 00:00:00 2001 From: Pascal Schneider Date: Mon, 5 Feb 2024 23:18:11 +0100 Subject: [PATCH] Fragen und Antworten --- src/timequiz.c | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/src/timequiz.c b/src/timequiz.c index d3e59d4..006ac45 100644 --- a/src/timequiz.c +++ b/src/timequiz.c @@ -7,6 +7,18 @@ void timequiz(); void timequiz() { + printf("Welcome to our Time Quiz!\n"); printf("You have 60 seconds to answer the questions. Have fun!\n"); + + char* questions[] = { + "What is the capital of France?", + }; + + char* answers[][4] = { + {"Paris", "London", "Berlin", "Madrid"}, + }; + + int correctAnswers[] = { 1 }; + }