|
@ -37,6 +37,19 @@ void wwm(){ |
|
|
for (int i = 0; i < 4; i++) { |
|
|
for (int i = 0; i < 4; i++) { |
|
|
printf("%d. %s \n", i + 1, answers[frage][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; |
|
|
return; |
|
|
|
|
|
|
|
|
} |
|
|
} |