This commit is contained in:
Džubara 2024-03-07 22:46:27 +01:00
parent cc57e1abab
commit f8fd50cfc3

View File

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