From ae457ca46862a178e356f0941c6195e6f25affbc Mon Sep 17 00:00:00 2001 From: ak643du Date: Thu, 7 Mar 2024 12:43:05 +0100 Subject: [PATCH] Initialization --- cv3/program.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/cv3/program.c b/cv3/program.c index e0c6007..30f9d75 100644 --- a/cv3/program.c +++ b/cv3/program.c @@ -12,7 +12,9 @@ int main() { double result = 0.0; while (count < SIZE) { + printf('+'); if (scanf("%lf", &input) != 1 && input != '\n') { + printf('-'); return 0; }