double score[3][5];int rows=sizeof(score)/sizeof(score[0]),col=sizeof(score[0])/sizeof(double);double total Score=0.0;double class Total Score=0.0;for(i=0;i<rows;i++){for(j=0;j<cols;j++){
score[i][j]=0.0;}}for(i=0;i<rows;i++){for(j=0;j<cols;j++){
p r i n t f("请输入第%d个班级 第 %d个学生的成绩",i+1,j+1);scanf("%lf",&score[i][j]);}printf("\n");}for(i=0;i<rows;i++){
classTotalScore=0.0;for(j=0;j<cols;j++){
classTotalScore+=score[i][j];}printf("\n 第 %d 个班的平均成绩是 %.2f",i+1,classTotalScore/cols);
totalScore+=classTotalScore;}printf("\n 所有学生的总成绩是 %.2f 平均成绩是 %.2f ",totalScore,totalScore/(rows*cols));getchar();getchar();}
***定义二维数组*** double score[3][5]; int rows=sizeof(score)/sizeof(score[0]),col=sizeof(score[0])/sizeof(double); double total Score=0.0; double class Total Score=0.0; for(i=0;i<rows;i++){ for(j=0;j<cols;...