Browse Source

Int Modus 1 random Zahl C

remotes/origin/Celine
Celine Khazarian 11 months ago
parent
commit
00361e3c33
  1. 4
      src/main/c/SchereSteinPapier.c

4
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;
}
Loading…
Cancel
Save