2003年秋浙江省计算机等级考试二级C 编程题(1) (C++代码) 摘要:解题思路:输入的十个数,用数组来存储。然后定义一个count计数器,作为大于平均数的计数使用。在for循环中每次输入之后都可以将值加和起来,最后求平均值。注意事项:这种程序用C++会让代码更加简洁。参…… 题解列表 2017年07月10日 2 点赞 0 评论 1301 浏览 评分:4.7
4√最强懵逼学员 摘要:解题思路:用两个循环就ok注意事项:参考代码:#include<stdio.h>int main(){ int a[10]; int i,av,sum=0,j=0; for (i=0;i<10;i++…… 题解列表 2022年04月05日 0 点赞 0 评论 366 浏览 评分:4.7
2003年秋浙江省计算机等级考试二级C 编程题(1) (C语言代码) 摘要:/* 2018年5月2日19:13:08 目的: 输入10个数,求它们的平均值,并输出大于平均值的数据的个数。 */ #include <stdio.h> int main (vo…… 题解列表 2018年05月02日 0 点赞 0 评论 674 浏览 评分:2.0
二级C语言-平均值计算,罗。。。。。我写出来了 摘要:解题思路: 输入10个整数,求它们的平均值,并输出大于平均值的数据的个数看到输入10个整数,你要想到用什么来存这十个数。注意事项:参考代码:#include <stdio.h>int main(){…… 题解列表 2022年10月24日 0 点赞 1 评论 138 浏览 评分:2.0
2003年秋浙江省计算机等级考试二级C 编程题(1) (Java代码) 摘要:解题思路:注意事项:参考代码:import java.util.Scanner;public class Main { public static void Aver(int[] ar…… 题解列表 2017年07月13日 0 点赞 0 评论 1334 浏览 评分:0.0
2003年秋浙江省计算机等级考试二级C 编程题(1) (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h> int main() { int i,a[10],k=0; float sum=0,avr; for(i=0;i<10…… 题解列表 2017年08月10日 0 点赞 0 评论 900 浏览 评分:0.0
2003年秋浙江省计算机等级考试二级C 编程题(1) (C语言代码) 摘要:#include<stdio.h>int main(){ int a[10]; int i,n=0,s=0; for(i=0;i<10;i++) { scanf("%d",&a[i]); …… 题解列表 2017年08月24日 0 点赞 0 评论 998 浏览 评分:0.0
2003年秋浙江省计算机等级考试二级C 编程题(1) (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int a[10]; //输入的十个数 int i; //循环变量 double sum=0; //…… 题解列表 2017年09月24日 0 点赞 0 评论 913 浏览 评分:0.0
2003年秋浙江省计算机等级考试二级C 编程题(1) (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int i,a[10],s=0,c=0; double aver; for(i=0;i<10;…… 题解列表 2017年10月20日 0 点赞 0 评论 949 浏览 评分:0.0
2003年秋浙江省计算机等级考试二级C 编程题(1) (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h> int main(){ int i,a[10],count=0; double sum=0; for(i=0;i<10;…… 题解列表 2017年10月22日 0 点赞 0 评论 792 浏览 评分:0.0