From 0b4e1647e55a7c1013aabed98de0432ed40b73b5 Mon Sep 17 00:00:00 2001 From: ak643du Date: Thu, 7 Mar 2024 13:20:01 +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 b26c83a..cd0217a 100644 --- a/cv3/program.c +++ b/cv3/program.c @@ -13,7 +13,7 @@ int main() { while (count < SIZE) { if (scanf("%lf", &input) != 1) { - if (scanf("%c", &input) == 1 && input == 'x') { + if (scanf("%c", &input) == 1) { printf("123\n"); return 0; }