From 2d0d040f021ea72b949e6208cef58bdcd0aba0dc Mon Sep 17 00:00:00 2001 From: ak643du Date: Mon, 4 Mar 2024 16:41:54 +0100 Subject: [PATCH] Initialization --- cv3/program.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) 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; }