diff --git a/cv3/program.c b/cv3/program.c index bdacbb1..b54608d 100644 --- a/cv3/program.c +++ b/cv3/program.c @@ -3,9 +3,6 @@ #include #define SIZE_OF_ARRAY 100 -#define LINE_SIZE 2 - -double powering(double, int); int main() { @@ -32,19 +29,17 @@ int main() return 0; } for(int j=1; j='0'&&buffer[j]<='9') { continue; @@ -65,11 +60,5 @@ int reading_input(double *number){ *number=atof(buffer); return 1; } -double powering(double number, int counter){ - double result=1; - for(int i=0; i