diff --git a/du4/program.c b/du4/program.c index ea316cc..ca682f1 100644 --- a/du4/program.c +++ b/du4/program.c @@ -14,6 +14,9 @@ int main(){ check *= 100000; int tmp = check; check = (float) tmp / 100000; + answer *= 100000; + tmp = answer; + answer = (float) tmp / 100000; printf("%s\n", (check == answer) ? "OK" : "ZLE"); //printf("%f\n", check); }