我想你要求的是第13题:编程如下:
#include "stdio.h"
int main()
{
float elem = 1,elem1=1,sum=1;
int i=1;
do
elem/=i;
sum+=elem;
i++;
elem1/=i;
}while((elem-elem1)>=1e-6);
printf("%f\n",sum);
return 0;
}
哪里有A啊,蛋疼