diff --git a/cv3/program.c b/cv3/program.c index 73af6a6..e585384 100644 --- a/cv3/program.c +++ b/cv3/program.c @@ -21,12 +21,14 @@ int main() { length = count; for (int y = 0; y < length; y++ ){ - if (isdigit(coefs[y]) == 0){ - printf("Nepodarilo sa nacitat polynom na %d mieste.", y); - break; + int b = coefs[y] + + if (isdigit(b) == 0){ + printf("Nepodarilo sa nacitat polynom na %d mieste.", y); + break; } else{ - continue; + continue; } }