From 09aedc967c4f78aa6425069f4fe2fc4fc34b432f Mon Sep 17 00:00:00 2001 From: ak643du Date: Tue, 5 Mar 2024 12:01:19 +0100 Subject: [PATCH] Initialization --- cv3/program.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cv3/program.c b/cv3/program.c index 52e0fe0..aaf6a6c 100644 --- a/cv3/program.c +++ b/cv3/program.c @@ -13,8 +13,8 @@ int main() { while (count < SIZE) { if (scanf("%lf", &input) != 1 && input != '\n') { - printf(":("); - break; + printf("Chyba pri nacitani hodnoty x.\n"); + return 1; } coefs[count] = input; count++;