以下程序通过函数sunFun求f(x)。这里f(x)=x2+1 由F函数实现。请填空。 main()

大学专科 已帮助: 时间:2023-08-18 00:37:29

以下程序通过函数sunFun求
f(x)。这里f(x)=x2+1,由F函数实现。请填空。 main() { printf ("The sum=%d/n",SunFun(10));} SunFun(int n) { int x,s=0; for(x=0;x<=n;x++)s+=F(______); return s; } F(int x) { return(______);}
请帮忙给出正确答案和分析,谢谢!

难度:⭐⭐⭐

题库:大学专科,电子信息,计算机类

标签:正确答案,请帮忙,函数

相似问题