diff --git a/cv3/program.c b/cv3/program.c index 272cb99..62ad46a 100644 --- a/cv3/program.c +++ b/cv3/program.c @@ -13,6 +13,11 @@ int main() { while (count < SIZE) { if (scanf("%lf", &input) != 1 && input != '\n') { + if (input != EOF){ + printf("123"); + return 0; + } + break; }