#include<stdio.h>
double fn (int a) :
const double eps=1e-8;
int main()
{
int X;
double t;
printf ("'Input x:");
scanf ("%d"' , &x) ;
t=fn(x);
printf("1+x-x^2/2!+..+(-1)^(n+1)*x^n/n!=f",t);
return 0:
}
double fn(int a) {
double sum=0,up=1, low=1.0, term=1.0, f=1.0;
while(term>eps){
sum=sum+term;
up=fupa;
f=-f,
term=up/low;
return sum;
}
}
有什么问题啊