include ltstdiohgt include


#include
#include
#include

void ingresarnotas (float A[120][6], int m, int n)
{
int i, j;
for (i=0; i for (j=0; i {
printf ("ingrese el componente A[%d][%d]", i, j);
scanf("%f", &A[i][j]);
}
}

void promalumnos (float A[120][6], int m, int n, float sum[120])
{
int i, j;
float prom;
for (i=0; i sum[i]=0;
for (j=0; i sum[i] = sum[i] + A[i][j];
prom = sum[i] / n;
printf ("El promedio del alumno %d es = %f", i, prom);
}

int main ()
{
int m =120;
int n =6;
float A[120][6];
float sum[120];

ingresarnotas (A[120][6], m, n);
promalumnos (A[120][6], m, n, sum[120]);
system ("pause");
return 0;
}

i cant fix this program please help

Request for Solution File

Ask an Expert for Answer!!
Software Engineering: include ltstdiohgt include
Reference No:- TGS0172429

Expected delivery within 24 Hours