#include <stdio.h> int main(){ int m,v; int a=0,b=0,c=0; if (scanf("%d",&m)!=EOF){ for (int i=0;i<m;i++){ if (scanf("%d",&v)!=EOF){ if (v>=85){a++;} if (v>=60 && v<85){b++;} if (v<60){c++;} } } printf("%d %d %d",a,b,c); }else{ printf("input wrong"); } return 0; }
c语言编程练习题:7-179 统计MOOC证书
作者:yunjinqi
类别:编程
日期:2023-05-31 18:42:59
阅读:599 次
消耗积分:0 分
版权所有,转载本站文章请注明出处:云子量化, https://www.yunjinqi.top/article/303
最新文章
系统当前共有 404 篇文章