diff --git a/cv3/program.c b/cv3/program.c index da87418..9eef7f0 100644 --- a/cv3/program.c +++ b/cv3/program.c @@ -5,15 +5,17 @@ #define SIZE_OF_ARRAY 100 #define LINE_SIZE 2 +double powering(double, int); + int main() { - float result_of_main=0; - float array_of_numbers[SIZE_OF_ARRAY]; + double result_of_main=0; + double array_of_numbers[SIZE_OF_ARRAY]; int counter=0; int result; - float pow_result; + double pow_result; while(1){ - float x=0; + double x=0; result=reading_input(&x); if(result==0||result==2){ break; @@ -25,18 +27,18 @@ int main() return 0; } for(int j=1; j