From 5a6fab927f3ea4f8ab0fbe78a7600cc4bf529ee4 Mon Sep 17 00:00:00 2001 From: ak643du Date: Mon, 4 Mar 2024 19:58:09 +0100 Subject: [PATCH] Initialization --- cv3/program.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cv3/program.c b/cv3/program.c index 0dc6c66..43f0987 100644 --- a/cv3/program.c +++ b/cv3/program.c @@ -19,7 +19,7 @@ int main() { } - if (scanf("%d", &input) != 1) + else if (scanf("%d", &input) != 1) { printf("Nepodarilo sa nacitat polynom na %d mieste.", count); return 0;