cv
This commit is contained in:
parent
cc57e1abab
commit
f8fd50cfc3
@ -17,8 +17,8 @@ int main() {
|
|||||||
int lineNumber = 1;
|
int lineNumber = 1;
|
||||||
|
|
||||||
if (fgets(line, MAX_LINE_LENGTH, stdin) == NULL || !IsValidNumber(line)) {
|
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);
|
x = strtod(line, NULL);
|
||||||
|
Loading…
Reference in New Issue
Block a user