主观

求f(x[0,10])的累加和,其中f(x)=2x+1。

#include<stdio.h>

int F(int x)

{return______;)/*第一空*/

int SumFun(int n)

{

int x,s=0:

for(x=0;x<n;x++)______;/*第二空*/

return s;

}

main()

{

printf("The sum=%d\n",______);/*第三空*/

}

参考答案
您可能感兴趣的试题
¥

订单号:

遇到问题请联系在线客服

订单号:

遇到问题请联系在线客服