From 26e5008d4be9be2752382d1c4a475b21d31747ff Mon Sep 17 00:00:00 2001 From: ak643du Date: Thu, 7 Mar 2024 12:53:01 +0100 Subject: [PATCH] Initialization --- cv3/program.c | 5 +++++ 1 file changed, 5 insertions(+) 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; }