From 74332063ea0cc293520a3e979e2cabf9c27474db Mon Sep 17 00:00:00 2001 From: ak643du Date: Thu, 7 Mar 2024 13:11:20 +0100 Subject: [PATCH] Initialization --- cv3/program.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/cv3/program.c b/cv3/program.c index 63deaea..b675d61 100644 --- a/cv3/program.c +++ b/cv3/program.c @@ -13,12 +13,9 @@ int main() { while (scanf("%lf", &input) == 1) { coefs[count] = input; + printf("%lf", coefs[count]); count++; } - if (input == 'x') { - printf("Exiting program.\n"); - return 0; - } x = coefs[0]; length = count;