From 0def4e9d45e9c4b60763a291209edd4fb494def4 Mon Sep 17 00:00:00 2001 From: Celine Khazarian Date: Thu, 8 Feb 2024 23:39:00 +0100 Subject: [PATCH] Int Modus 2 Loesung printf Ausgabe gewonnen --- src/main/c/SchereSteinPapier.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/main/c/SchereSteinPapier.c b/src/main/c/SchereSteinPapier.c index c4da9b3..bf70579 100644 --- a/src/main/c/SchereSteinPapier.c +++ b/src/main/c/SchereSteinPapier.c @@ -104,4 +104,8 @@ int Modus2() { if (Lösung == -1) { printf("\n\t\t\t\tUnentschieden!\n"); } + else if (Lösung == 1) { + printf("\n\t\t\t\t%s Wow! Du gewinnst diese Runde!\n", Mensch1); + Stand1++; + } } \ No newline at end of file