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);