2003年秋浙江省计算机等级考试二级C 编程题(1) (C语言代码) 摘要:#include<stdio.h>int main(){ double a[10],j=0; int i,n=0; for(i=0;i<10;i++) { scanf("%lf",&a[i]); …… 题解列表 2019年02月12日 0 点赞 0 评论 575 浏览 评分:0.0
。。不用数组。。二级C 编程题(1) (C语言代码)向来喜欢暴力。。。。别玩那么多花里胡哨 摘要:解题思路:注意事项:参考代码:#include<stdio.h> int main() { int a1,a2,a3,a4,a5,a6,a7,a8,a9,a10,n=0; double a…… 题解列表 2019年02月09日 1 点赞 26 评论 2060 浏览 评分:9.6
2003年秋浙江省计算机等级考试二级C 编程题(1) (C语言代码) 摘要:解题思路: 先利用scanf会自动识别空格,把10个数字一个一个存进数组a; → 再将数组每一个数字加起来,存给sum; → 再用sum/10得出平均数average; → 再利用for…… 题解列表 2019年02月07日 0 点赞 0 评论 1778 浏览 评分:8.0
2003年秋浙江省计算机等级考试二级C 编程题(1) (C语言代码) 摘要:解题思路:注意事项:参考代码:/*输入10个数,求它们的平均值,并输出大于平均值的数据的个数。*/#include<stdio.h>int main(){ int a[100]; int …… 题解列表 2019年02月04日 0 点赞 0 评论 1565 浏览 评分:6.0
2003年秋浙江省计算机等级考试二级C 编程题(1) (C语言代码) 摘要:解题思路:注意事项:参考代码:/*输入10个数,求它们的平均值,并输出大于平均值的数据的个数。*/#include<stdio.h>int main(){ float a[10]; flo…… 题解列表 2019年01月21日 0 点赞 0 评论 558 浏览 评分:0.0
2003年秋浙江省计算机等级考试二级C 编程题(1) (C语言代码) 摘要:解题思路: 输入数组,计算总和, 遍历数组,查找大于平均值的个数注意事项:参考代码:#include"stdio.h" int main(){ int num[10]; …… 题解列表 2018年11月08日 0 点赞 0 评论 637 浏览 评分:0.0
2003年秋浙江省计算机等级考试二级C 编程题(1) (C++代码) 摘要:解题思路:注意事项:参考代码:#include <iostream>using namespace std;int main(){ int a[10]; int p,sum=0; i…… 题解列表 2018年10月13日 0 点赞 0 评论 637 浏览 评分:0.0
2003年秋浙江省计算机等级考试二级C 编程题(1) (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int a[10],n,z=0; float y,s=0; for(n=0;n<10;n++) { scanf(…… 题解列表 2018年09月07日 0 点赞 0 评论 755 浏览 评分:0.0
2003年秋浙江省计算机等级考试二级C 编程题(1) (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ float a[10],ave,sum=0; int i,count=0; for(i=…… 题解列表 2018年08月24日 0 点赞 0 评论 954 浏览 评分:0.0
2003年秋浙江省计算机等级考试二级C 编程题(1) (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>main(){int n=0,s=0,a[10],i,t;for(i=0;i<10;i++)scanf("%d",&a[i]);for(…… 题解列表 2018年08月15日 0 点赞 0 评论 764 浏览 评分:0.0