.
Last edited on
int min = 0;
else if (student[n] < min)
Think of what you're doing here. Think real hard. Im pretty sure no grade ever becomes less than 0 am I right? Change this
1 2
|
int max = 0;
int min = 0;
|
to this
1 2
|
int max = student[0];
int min = student[0];
|
Last edited on
.
Last edited on