diff --git a/cv3/program.c b/cv3/program.c index 8f88328..54fb920 100644 --- a/cv3/program.c +++ b/cv3/program.c @@ -13,8 +13,7 @@ int main() { while (count < SIZE) { if (scanf("%lf", &input) != 1 && input != '\n') { - printf("Chyba pri nacitani hodnoty %lf.\n", input); - return 1; + break; } coefs[count] = input; count++;