Browse Source

functional 15: Initialisierung Variable außerhalb Funktion und returnposition Anpassung

remotes/origin/Christian
Christian Reum 11 months ago
parent
commit
4e827f19d5
  1. 5
      src/wwm.c

5
src/wwm.c

@ -7,7 +7,6 @@ int runde = 0;
int geld = 0;
int frage = 0;
int useranswer;
int test;
int setGeld(int runde){
int Geldstufen[] = {0, 100, 200, 300, 500, 1000, 2000, 4000, 8000, 16000, 32000, 64000, 125000, 250000, 500000, 1000000};
@ -88,10 +87,8 @@ void wwm(){
}
else {
printf("What a shame! That is wrong!\n You lost %d $", geld);
return;
}
}
return;
}
}
Loading…
Cancel
Save