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;