diff --git a/a1 b/a1 deleted file mode 100644 index 34434f6..0000000 --- a/a1 +++ /dev/null @@ -1,26 +0,0 @@ -#include -#include -#include -int main() -{ - int i,c; - double x; - double result=0; - scanf("%lF",&x); - double *array; - array = (double*) malloc(1000); - for(i=0,c=1;i0; i--,j++){ - printf("%.2F ",array[j]); - result+=array[i-1]*pow((double)x,j); - } - - printf("%.2F",result); - free(array); - return 0; -}