diff --git a/cv3/program.c b/cv3/program.c index 0dc6c66..43f0987 100644 --- a/cv3/program.c +++ b/cv3/program.c @@ -19,7 +19,7 @@ int main() { } - if (scanf("%d", &input) != 1) + else if (scanf("%d", &input) != 1) { printf("Nepodarilo sa nacitat polynom na %d mieste.", count); return 0;