Aktualizovat „du4/program.c“

This commit is contained in:
Artem Horbunov 2020-04-02 16:16:12 +00:00
parent d944f7a475
commit 62bef9862b

View File

@ -14,6 +14,9 @@ int main(){
check *= 100000; check *= 100000;
int tmp = check; int tmp = check;
check = (float) tmp / 100000; check = (float) tmp / 100000;
answer *= 100000;
tmp = answer;
answer = (float) tmp / 100000;
printf("%s\n", (check == answer) ? "OK" : "ZLE"); printf("%s\n", (check == answer) ? "OK" : "ZLE");
//printf("%f\n", check); //printf("%f\n", check);
} }