From c2ea22f2d0d1f25aa3d3038b79788b651d7dcd04 Mon Sep 17 00:00:00 2001 From: Ronja Awe Date: Thu, 2 Feb 2023 12:09:33 +0100 Subject: [PATCH] =?UTF-8?q?else=20mit=20ausgabe=20verloren=20hinzugef?= =?UTF-8?q?=C3=BCgt?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/c/labyrinth.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/c/labyrinth.c b/src/c/labyrinth.c index d0dc35b..2e64e94 100644 --- a/src/c/labyrinth.c +++ b/src/c/labyrinth.c @@ -75,6 +75,8 @@ void labyrinthschritte(lab laby, int hoehe, int breite, int schritte, int versuc versuche = versuche + 1; labyrinthschritte(laby, hoehe, breite, schritte, versuche); //if schleife für 3 versuche } - + else{ + printf("Verloren\n"); + } } } \ No newline at end of file