I need help because my brain cells cannot find what is wrong with this program! Here\'s the code
import java.util.*; public class student{ publ
int minValue=myArray[0];
because of this line, your minValue is set to 0. So the minimum value would be reset in this method only if the myArray[i] in the below code is less than 0. Otherwise it remains 0.
for( i=1; i