From f8fd50cfc3a6ca7c8d5a427902d3b7891bac27cf Mon Sep 17 00:00:00 2001 From: VIliam Date: Thu, 7 Mar 2024 22:46:27 +0100 Subject: [PATCH] cv --- cv3/program.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cv3/program.c b/cv3/program.c index 1c43d58..0e8c447 100644 --- a/cv3/program.c +++ b/cv3/program.c @@ -17,8 +17,8 @@ int main() { int lineNumber = 1; if (fgets(line, MAX_LINE_LENGTH, stdin) == NULL || !IsValidNumber(line)) { - printf("Nepodarilo sa nacitat zaklad x\n"); - return 1; + + return 0; } x = strtod(line, NULL);