Browse Source

functional 13: Ende nach 15 Runden extra Ausgabe

remotes/origin/Christian
Christian Reum 11 months ago
parent
commit
7826b0aa77
  1. 9
      src/wwm.c

9
src/wwm.c

@ -50,7 +50,14 @@ void wwm(){
}; };
for (int r = 1; r <= 15; r++){
for (int r = 1; r <= 16; r++){
if (r == 16) {
printf("Congratulations ! You have won 1.000.000 $");
return;
}
printf("You are at stage %d and have %d $\n", runde, geld); printf("You are at stage %d and have %d $\n", runde, geld);
srand(time(0)); srand(time(0));
int frage = rand() % 10; int frage = rand() % 10;

Loading…
Cancel
Save