下列给定程序中,函数fun的功能是计算如下公式:

直到
,并且把计算结果作为函数值返回。
请在下画线处填入正确的内容并将下画线删除,使程序得出正确的结果。
注意:部分源程序给出如下。
不得增行或删行,也不得更改程序的结构!
试题程序:
#include <stdio.h >
double fun (double e)
int i, k; double s, t, x;
s=0; k=1; i=2;
/********** found********** /
x= (1) /4;
/***** ***** found********** /
while(x (2) e)
s=s+k* x;
k=k* (-1);
t=2* i;
/********** found********** /
x= (3) /(t* t);
i++;
return s;
main ()
double e=1e-3;
printf ("\nThe result is: % f\n",
fun (e));