全部版块 我的主页
论坛 提问 悬赏 求职 新闻 读书 功能一区 经管文库(原现金交易版)
159 0
2024-11-03
一、程序填空题
#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 ...
附件列表

循环和函数(补充)答案.docx

大小:1009 KB

只需: RMB 2 元  马上下载

二维码

扫码加我 拉你入群

请注明:姓名-公司-职位

以便审核进群资格,未注明则拒绝

相关推荐
栏目导航
热门文章
推荐文章

说点什么

分享

扫码加好友,拉您进群
各岗位、行业、专业交流群