All you inputs are stored in midTerm1 array, midTerm2 array and finalExam array. Yet you look for min and max in the grades array. Since you did not store any values in this array it will be filled...
Type: Posts; User: Junky
All you inputs are stored in midTerm1 array, midTerm2 array and finalExam array. Yet you look for min and max in the grades array. Since you did not store any values in this array it will be filled...
You have a scope issue. You have declared min inside the for loop and trying to use it outside the loop. You cannot do this. Just like a method cannot access a variable declared inside another...