简易代码(C)望空破茧 摘要:解题思路:编写程序,输入一批学生的成绩,遇0或负数则输入结束,要求统计并输出优秀(大于85)、通过(60~84)和不及格(小于60)的学生人数。注意事项: 用一个一维数组储存 …… 题解列表 2022年06月24日 0 点赞 0 评论 216 浏览 评分:0.0
2006年春浙江省计算机等级考试二级C 编程题(1) (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int a[50],i=0; int count1=0,count2=0,count3=0; …… 题解列表 2018年08月25日 0 点赞 0 评论 545 浏览 评分:0.0
c语言简单 优解!!! 摘要:解题思路:注意事项:参考代码:#include <stdio.h>int main (){ int a,b,c; //分别记录人数!!! a=b=c=0; int n; …… 题解列表 2023年09月14日 0 点赞 0 评论 136 浏览 评分:0.0
二级C语言-成绩归类-题解(Python代码) 摘要:```python a=b=c=0 lis=list(map(int,input().split())) for i in lis: if i=85: a+=1 …… 题解列表 2020年04月10日 0 点赞 0 评论 489 浏览 评分:0.0
二级C语言-成绩归类 摘要:参考代码:#include <stdio.h>int main(){ int n; int i=0,j=0,k=0; scanf("%d",&n); …… 题解列表 2024年01月23日 0 点赞 0 评论 74 浏览 评分:0.0
二级C语言-成绩归类-题解(C++代码) 摘要:#include using namespace std; int main() { int n,a=0,b=0,c=0; while(cin>>n) { if (n == 0…… 题解列表 2019年12月26日 0 点赞 0 评论 373 浏览 评分:0.0
2006年春浙江省计算机等级考试二级C 编程题(1) (C语言代码) 摘要:解题思路:注意事项:无参考代码:#include<stdio.h>int main(){ int a[100],i=0; // 定义 i 既可以记住输入个数 ,还可以用来控制循环,变量多用…… 题解列表 2018年12月21日 1 点赞 0 评论 390 浏览 评分:0.0
二级C语言-成绩归类 摘要:解题思路:注意事项:参考代码:#include<stdio.h>main(){ int a,num1=0,num2 = 0,num3 = 0; while (scanf("%d", &a) && a>…… 题解列表 2021年04月17日 0 点赞 0 评论 135 浏览 评分:0.0
2006年春浙江省计算机等级考试二级C 编程题(1) (C语言代码) 摘要:解题思路:while(scanf("%d",&n)==1 && n>0)不断输入,直至零或负数跳出注意事项:计数的变量要初始为0,以及输出格式参考代码:#include<stdio.h>int mai…… 题解列表 2018年04月26日 0 点赞 0 评论 563 浏览 评分:0.0
二级C语言-成绩归类-题解(C语言代码) 摘要:解题思路:注意事项:参考代码:#include#define N 100//先对N进行一个赋值,保证足够大即可int main(){ int a[N],i; int b,c,d; b…… 题解列表 2020年11月29日 0 点赞 0 评论 285 浏览 评分:0.0