假设有40个学生被邀请来给餐厅的饮食和服务质量打分,分数划分为1~10这10个等级(1表示最低分,10表示最高分),编程统计并按如下格式输出餐饮服务质量调查结果。按要求在空白处填写适当的表达式或语句,使程序完整并符合题目要求。 #include #define M 40 #define N 11 int main() { int i, j, grade, feedback[M], count[N] = {0}; printf("Input the feedbacks of 40 students:\n"); for (i=0; i { scanf("%d", &feedback[i]); } for (i=0; i { _____________; } printf("Feedback\tCount\tHistogram\n"); for (_________; grade<=N-1; grade++) { printf("%8d\t%5d\t", grade, count[grade]); for (j=0; ___________; j++) { printf("%c",'*'); } printf("\n"); } return 0; }