int main(){ int scores[40];
int count[11]={0};
int i,j,k;
for(i=0;i<40;i++){
scanf("%d",&scores[i]);
count[scores[i]]++;
}
printf("Grade Count Histogram\n");
for(j=1;j<=10;j++){
printf("%d\t%3d ",j,count[j]);
for(k=0;k<count[j];k++){
printf("*");
}
printf("\n");
}
return 0; } 求求大佬帮助