diff --git a/cv3/program.c b/cv3/program.c index 1c43d58..f39dcb4 100644 --- a/cv3/program.c +++ b/cv3/program.c @@ -31,7 +31,7 @@ int main() { if (line[0] != '\n') { printf("Nepodarilo sa nacitat polynom na %d mieste.\n", lineNumber); - return 0; + return 1; } printf("Vysledok je: %.2f\n", result);