From 03b16331e0c1f29adabd1f7504246a958dada058 Mon Sep 17 00:00:00 2001 From: ak643du Date: Mon, 4 Mar 2024 16:54:42 +0100 Subject: [PATCH] Initialization --- cv3/program.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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; + } }