Browse Source

Int Modus 1 random Zahl C 2

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

4
src/main/c/SchereSteinPapier.c

@ -32,5 +32,7 @@ int Modus1() {
char you = 'Y', computer, Lösung;
srand(time(NULL));
n = rand() % 100;
if (n < 33) {
computer = '2';
}
}
Loading…
Cancel
Save