- 6
- 0
- 约6.51万字
- 约 50页
- 2021-11-04 发布于福建
- 举报
C语言程序设计部分实验参考答案
实验 2
#include stdio.h
int main(){ //2-1-2
int c,f=150;
c=f*5/9-32*5/9;
printf( fahr=%d, celsius=%d\n ,f, c);
return 0;
}
#include stdio.h
int main(){ //2-1-3
int c=26,f;
f=c*9/5+32;
printf( celsius=%d, fahr=%d\n ,c, f);
return 0;
}
#include stdio.h
int main(){ //2-1-4
int math=87,eng=72,comp=93;
printf( math=%d, eng=%d, comp=%d, average=%d\n ,math, eng, comp,
(math+eng+comp)/3);
return 0;
}
#include
您可能关注的文档
最近下载
- 2026年公路事业发展中心下属事业单位选聘考试试题(附答案).docx VIP
- 2026年公路事业发展中心招聘工作人员试题及答案解析.docx VIP
- 标准图集-17R410 热水管道直埋敷设.pdf VIP
- 小学三年级下册综合实践活动节水小达人课件.pptx VIP
- 节水小达人课件.pptx VIP
- 试验一森林调查数据预处理11样地数据.pdf VIP
- 2025贵州化工建设有限责任公司第一批次招聘148人笔试备考试题及答案解析(完整版).docx VIP
- 5.3 凸透镜成像的规律(课件)八年级物理上册(人教版).pptx VIP
- 2026年4399游戏策划管培生笔试题及答案.doc VIP
- T_ZZB 2142-2021 作训鞋标准规范.docx VIP
原创力文档

文档评论(0)