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