I need to return the greatest negative value, and if there are no negative values, I need to return zero. Here is what I have:
public int greatestNegative(int[]
You have to try this....
public int greatestNegative(int[] list) { int negNum = 0; for(int i=0; i