Browse Source

8th functional commit

remotes/origin/Christian
Christian Reum 11 months ago
parent
commit
d7c9c601af
  1. 13
      src/wwm.c

13
src/wwm.c

@ -37,6 +37,19 @@ void wwm(){
for (int i = 0; i < 4; i++) {
printf("%d. %s \n", i + 1, answers[frage][i]);
int useranswer;
printf("Your answer (1-4):");
scanf("%d", &useranswer);
if (useranswer == correctAnswer[frage]) {
printf("That is correct!");
}
else {
printf("That is wrong!");
}
return;
}
Loading…
Cancel
Save