Browse Source

functional 21 (vorheriger 20): if Anweisung runden 1-5

remotes/origin/Christian
Christian Reum 11 months ago
parent
commit
b186a85ab0
  1. 7
      src/wwm.c

7
src/wwm.c

@ -102,6 +102,10 @@ void wwm(){
{"Au", "Ag", "Su", "Si"} {"Au", "Ag", "Su", "Si"}
}; };
int correctAnswer2[] = {
1, 3, 4, 2, 2
};
for (int r = 1; r <= 16; r++){ for (int r = 1; r <= 16; r++){
if (r == 16) { if (r == 16) {
@ -109,7 +113,7 @@ void wwm(){
return; return;
} }
if (r <= 5) {
printf("__________________________________________________ \n\n"); printf("__________________________________________________ \n\n");
printf("You are at stage %d and have %d $\n", runde, geld); printf("You are at stage %d and have %d $\n", runde, geld);
crandomNumber(); crandomNumber();
@ -132,4 +136,5 @@ void wwm(){
return; return;
} }
} }
}
} }
Loading…
Cancel
Save