一、程序填空题
#include <stdio.h>
double fun(double e)
{ int i; double s, x;
/**********found**********/
s=0; i=__1__;
//0x=1.0;
while(x>e){
/**********found**********/
__2__;
//i++
/**********found**********/
x=(2.0*i-1)/((__3__)*(2.0*i));
//2.0*i
s=s+x;
}return s;
}main()
{ double e=1e-3;
printf("\nThe result is: %f\n",fun(e));
}#include <stdio.h>
int fun(int x)
{ int n, s1, s2, s3, t;
/**********found**********/
n=__1__;
//0t=100;
/**********found**********/
while(t<=__2__)
//x{ s1=t%10; s2=(t/10)%1 ...


雷达卡


京公网安备 11010802022788号







