int? Master ()
{
Invalid? average_stu(int? Array [3][5]? );
Invalid? average_lesson(int? Array [3] [5]);
int? a[3][5],I,j;
For what? (I = 0; I<3; i++)
{
printf("num:%d\t ",I+ 1);
Printf ("input? Results:? ”);
for(j = 0; j & lt5; j++)
{
scanf("%d ",& ampa[I][j]);
}
}
average _ stu(a);
printf(" \ n ");
Average _ class (1);
Return? 0;
}
Invalid? average_stu(int? Array[3][5])// Average score of each student
{
int? I,j;
Floating? Sum;
for(I = 0; I<3; i++)
{
sum = 0;
For what? (j = 0; j & lt5; j++)
{
sum+= array[I][j];
}
Printf ("The average score of students with %d is %4.2f\n", i, sum/5);
}
}
Invalid? average_lesson(int? Array[3][5])// Average score of each course
{
int? I,j;
Floating? Sum;
for(j = 0; j & lt5; j++)
{ sum = 0;
for(I = 0; I<3; i++)
{
sum+= array[I][j];
}
Printf ("the average grade of the course with course number %d is %4.2f\n", j, sum/3);
}
}
Operation effect diagram