I have to return the index number of the lowest value in an array of 12 numbers. I keep getting 12 as the result every time I run it. Here is my code:
minRain =
You need to store lowest_seen and lowest_index. Right now you are comparing value < last_index