From 4e827f19d50cc06e03581212ff600d2638477c60 Mon Sep 17 00:00:00 2001 From: Christian Reum Date: Tue, 6 Feb 2024 17:43:55 +0100 Subject: [PATCH] =?UTF-8?q?functional=2015:=20Initialisierung=20Variable?= =?UTF-8?q?=20au=C3=9Ferhalb=20Funktion=20und=20returnposition=20Anpassung?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/wwm.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/wwm.c b/src/wwm.c index c0c2f99..bf1507e 100644 --- a/src/wwm.c +++ b/src/wwm.c @@ -7,7 +7,6 @@ int runde = 0; int geld = 0; int frage = 0; int useranswer; -int test; int setGeld(int runde){ int Geldstufen[] = {0, 100, 200, 300, 500, 1000, 2000, 4000, 8000, 16000, 32000, 64000, 125000, 250000, 500000, 1000000}; @@ -88,10 +87,8 @@ void wwm(){ } else { printf("What a shame! That is wrong!\n You lost %d $", geld); + return; } } - - return; - } }