From 9256a5504a9a5898eaf1bcf4d14a937b13e24468 Mon Sep 17 00:00:00 2001 From: ak643du Date: Mon, 4 Mar 2024 14:44:02 +0100 Subject: [PATCH] Initialization --- cv3/program.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/cv3/program.c b/cv3/program.c index 477dbb7..0cb4ea4 100644 --- a/cv3/program.c +++ b/cv3/program.c @@ -3,9 +3,9 @@ #define SIZE 10 int main() { - int coefs[SIZE]; - int x = 0; - int input = 0; + double coefs[SIZE] = {0.0}; + double x = 0.0; + double input = 0.0; int count = 0; int length = 0; double result = 0.0;