From 00361e3c33cca8d9733cf71188e077fdce32483f Mon Sep 17 00:00:00 2001 From: Celine Khazarian Date: Thu, 8 Feb 2024 23:15:26 +0100 Subject: [PATCH] Int Modus 1 random Zahl C --- src/main/c/SchereSteinPapier.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/main/c/SchereSteinPapier.c b/src/main/c/SchereSteinPapier.c index 492fe89..a92f7cd 100644 --- a/src/main/c/SchereSteinPapier.c +++ b/src/main/c/SchereSteinPapier.c @@ -29,6 +29,8 @@ int Modus1() { char Mensch[50]; printf("\t\t\t\tName Mensch/in: "); scanf("%s", Mensch); - + char you = 'Y', computer, Lösung; + srand(time(NULL)); + n = rand() % 100; } \ No newline at end of file