From 3aea0e5196a3d4906cfa68ac83fe190f0b6cb3f8 Mon Sep 17 00:00:00 2001 From: ak643du Date: Tue, 5 Mar 2024 11:10:39 +0100 Subject: [PATCH] Initialization --- cv3/program.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/cv3/program.c b/cv3/program.c index f10dd4d..f4d3e12 100644 --- a/cv3/program.c +++ b/cv3/program.c @@ -11,9 +11,10 @@ int main() { double result = 0.0; while (count < SIZE && scanf("%lf", &input) == 1) { - // if (input == x) { - // return 0; - // } + if (input == x) { + printf("\n x input \n"); + break; + } coefs[count] = input; count++; }