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