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