Need a bit of help with some code im trying to sort for college.
Now, go easy on me, im new to all this stuff
I need a for- if statement to determine which month in a year has the highest levels of rainfall, but i can figure out whats wrong with this
It also needs to do it for minimum but ill be able to sort that once i figure out this one
Heres the code
public static void maximium (double months)
for (int i = 1; i<11; i++)
if (months[i]> months [highpos]
Thats not it all, thats just the relevant section.
Tanks in advance