#include "stdio.h" #include "stdlib.h" #include "stdbool.h" #define P 44 #define N 19 int main(){ FILE *fh; int i,j; char acc[P][N]; int score[P]; int tmp[P]; int count[P]; int max, max_i; fh = fopen("s.txt", "r"); if (fh == NULL){ printf("Error Reading File\n"); exit (0); } for (i=0; i
max){ max=score[i]; max_i=i; } } printf("index=%d name=%s and higtest socre of class score=%d\n", max_i, acc[max_i], max); for (i=0; i