二级C语言-成绩归类-题解(C++代码) #includeusingnamespacestd;intmain(){inta[1000];//也可以使用动态数组intj=0;for(inti=0;;i++){cin>>a[i];if(a[i]=60)f++;elseg++;}cout 题解列表 2019年11月17日 0 点赞 0 评论 1196 浏览 评分:6.0
二级C语言-成绩归类-题解(C语言代码) 简单易懂 思路清晰! 摘要:解题思路:注意事项:参考代码:#include <stdio.h>int main(){ int b=0,c=0,d=0,f=0; int x; scanf("%d",&x); while (x>0)…… 题解列表 2020年11月28日 0 点赞 0 评论 876 浏览 评分:6.0
二级C语言-成绩归类 摘要:解题思路:注意事项:参考代码:#include<stdio.h> int main(){ int b=0,c,d=0,e=0,f=0; char ch; int a[1000]; w…… 题解列表 2021年10月14日 0 点赞 0 评论 748 浏览 评分:6.0
2006年春浙江省计算机等级考试二级C 编程题(1)-题解(C语言代码) #includeintmain(){intn,count1=0,count2=0,count3=0;while(1)//无限循环{scanf("%d",&n);if(n==0)break;//结束循环输入的条件if(n>85)count1++;if(n>60&&n<84)count2++;if(n<6 题解列表 2019年08月25日 0 点赞 1 评论 1310 浏览 评分:5.0
跟着思路写就好了 摘要:#include <stdio.h> int main() { float score; int dydy85=0,dydy60=0,xy60=0; scanf("%…… 题解列表 2021年12月02日 0 点赞 3 评论 911 浏览 评分:4.0
2006年春浙江省计算机等级考试二级C 编程题(1) (C语言代码) 摘要:思路:进行无限循环,用break退出循环答案:#include<stdio.h> int main(){ int i,a=0,b=0,c=0; while(scanf("%d",&i)){ …… 题解列表 2017年06月19日 15 点赞 2 评论 2196 浏览 评分:2.0
2006年春浙江省计算机等级考试二级C 编程题(1) (C语言代码) 摘要:#include <stdio.h>int main() {int n, i = 0, j = 0, k = 0;scanf("%d",&n);while(n > 0)//判断n是否符合条件{if(n…… 题解列表 2017年06月21日 0 点赞 3 评论 839 浏览 评分:0.0
2006年春浙江省计算机等级考试二级C 编程题(1) (C语言代码) 摘要:解题思路:注意事项:while(score!=0&&score!=-1) { scanf("%f",&score); if(score>=85) count1++; …… 题解列表 2017年07月28日 1 点赞 0 评论 1931 浏览 评分:0.0
2006年春浙江省计算机等级考试二级C 编程题(1) (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int a,b,c; float score; a=b=c=0; while(scanf…… 题解列表 2017年08月27日 0 点赞 0 评论 1803 浏览 评分:0.0
2006年春浙江省计算机等级考试二级C 编程题(1) (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h> int main(){ int n,n1=0,n2=0,n3=0; scanf("%d",&n); while(n>0)…… 题解列表 2017年10月22日 0 点赞 0 评论 1848 浏览 评分:0.0