From d9b91d480420f8da19e3048f6912c6559cb68ab5 Mon Sep 17 00:00:00 2001 From: ak643du Date: Thu, 7 Mar 2024 12:54:17 +0100 Subject: [PATCH] Initialization --- cv3/program.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; }