![](https://img-blog.csdnimg.cn/20201014180756928.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
C语言
文章平均质量分 55
Brisa56
加油
展开
-
谭浩强C语言(第二版)——第六章习题答案
1. 已知一个班10个学生的成绩,要求输入这10个学生的成绩,然后求出它们的平均成绩。解://// @Author: Brisa// @Date: 2021/10/5// @Description: 已知一个班10个学生的成绩,要求输入这10个学生的成绩,然后求出它们的平均成绩。//#include<stdio.h>int main(){ double score[10], sum=0.0, avg; printf("请输入10名学生的成绩\n");原创 2021-10-05 23:47:01 · 3253 阅读 · 4 评论 -
谭浩强C语言(第二版)——第五章习题答案
1. 求100~200间的全部素数。解://// @Author: Brisa// @Date: 2021/10/5// @Description: 100-200之间的素数//#include<stdio.h>#include<math.h>int main(){ int temp, k; printf("100-200的素数有:\n"); for(int i=100; i<=200; i++){ temp = s原创 2021-10-05 21:28:14 · 251 阅读 · 0 评论