From db06e9eed23dc6513dc0cd442ba156a1dc49659b Mon Sep 17 00:00:00 2001 From: Celine Khazarian Date: Thu, 8 Feb 2024 23:17:58 +0100 Subject: [PATCH] Int Modus 1 random Zahl C 3 --- 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 9e67570..adff420 100644 --- a/src/main/c/SchereSteinPapier.c +++ b/src/main/c/SchereSteinPapier.c @@ -34,5 +34,8 @@ int Modus1() { n = rand() % 100; if (n < 33) { computer = '2'; + } + else if (n > 33 && n < 66) { + computer = '3'; } } \ No newline at end of file