From d871b55947d809247c2683e7ee26c9bd7e8c34b4 Mon Sep 17 00:00:00 2001 From: ak643du Date: Tue, 5 Mar 2024 12:04:20 +0100 Subject: [PATCH] Initialization --- cv3/program.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/cv3/program.c b/cv3/program.c index 8f88328..54fb920 100644 --- a/cv3/program.c +++ b/cv3/program.c @@ -13,8 +13,7 @@ int main() { while (count < SIZE) { if (scanf("%lf", &input) != 1 && input != '\n') { - printf("Chyba pri nacitani hodnoty %lf.\n", input); - return 1; + break; } coefs[count] = input; count++;