From 521e7119461d098baf3c892a6b6228577a046f9c Mon Sep 17 00:00:00 2001 From: Celine Khazarian Date: Thu, 8 Feb 2024 23:37:11 +0100 Subject: [PATCH] Int Modus 2 Loesung game --- src/main/c/SchereSteinPapier.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/main/c/SchereSteinPapier.c b/src/main/c/SchereSteinPapier.c index 8a1456a..54214ff 100644 --- a/src/main/c/SchereSteinPapier.c +++ b/src/main/c/SchereSteinPapier.c @@ -80,6 +80,8 @@ return 0; int Modus2() { char Mensch1[50], Mensch2[50]; + int Lösung; + int Stand1 = 0, Stand2 = 0; printf("\t\t\t\tName Mensch 1: "); scanf("%s", Mensch1); printf("\n\t\t\t\tName Mensch 2: "); @@ -98,4 +100,5 @@ int Modus2() { printf("\n\t\t\t\t%s, waehlen Sie 1 fuer Schere, 2 fuer Stein oder 3 fuer Papier: ", Mensch2); scanf(" %c", &wahl2); } + Lösung = game(wahl1, wahl2); } \ No newline at end of file