level 1
106320713
楼主
题: 假设现在有40 个学生被邀请来给自助餐厅的食品和服务质量
打分
,分数从1~10的10个等级,试统计调查结果,并用"*"打印出如下形式的统计结果直方图. Grade Count Histogram 1 5 ***** 2 10 ********** 3 7 ******* ... 以上是题 下面的是程序 需要把空添上..帮忙解决下 谢谢 #include
#define Students 40 #define GradeSize 11 main() { int i,j,grade; int score[Students],count[GradeSize]={0}; printf("Please enter the response score of these students:\n"); for(i=0;i
2006年06月22日 09点06分
1
打分
,分数从1~10的10个等级,试统计调查结果,并用"*"打印出如下形式的统计结果直方图. Grade Count Histogram 1 5 ***** 2 10 ********** 3 7 ******* ... 以上是题 下面的是程序 需要把空添上..帮忙解决下 谢谢 #include
#define Students 40 #define GradeSize 11 main() { int i,j,grade; int score[Students],count[GradeSize]={0}; printf("Please enter the response score of these students:\n"); for(i=0;i