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