Ok this is a little compilated but do this
#define boolean _Bool
#define false 0
#define true 1
Make an array list of students and names
int main()
{
boolean pass = false;
boolean fail = false;
Now make some more code to compare the grades and names
for(int I = 0; standard procedure)
{insert code here}
}
Sorry if I am not that helpful it is 1:00 in the morning right now.