diff --git a/cv3/program.c b/cv3/program.c index ce03a88..ffa47fc 100644 --- a/cv3/program.c +++ b/cv3/program.c @@ -21,9 +21,7 @@ int main() { length = count; for (int y = 0; y <= length; y++ ){ - printf("true"); - if (atoi(coefs[y]) == 1){ - printf("true1"); + if (atof(coefs[y]) == 0){ printf("Nepodarilo sa nacitat polynom na %d mieste.", y); break; }