(b) Find the student with the highest grade in the first test.
(c) Find the student with the highest overall average.
(d) Find the student with the lowest overall average.
#define MAX 50
struct {
int ra;
char nome[MAX];
float prova[3];
} aluno[5];
int main() {
int i;
int j;
float media, Mmedia, mmedia;
for (i = 0; i < 5; i++) {
printf("Determine o Nome do Aluno %d: ", i + 1);
scanf("%s", &aluno[i].nome);
printf("Determine a Matricula do Aluno %d: ", i + 1);
scanf("%i", &aluno[i].ra);
for (j = 0; j < 3; j++) {
printf("Determine a nota da %d Prova: ", j + 1);
scanf("%f", &aluno[i].prova[j]);
}
}
return 0;
}