title: Finding highest and lowest value of rainfall in Raptor
body: <p>Updated version.</p>
  
  <p>I had figured out my previous issue with it but am still unsure how to do the last part. I do not know how to get the number that goes inside of the bracket instead of getting the value that is stored inside of it. The array consists of 12 numbers and for example I am looking for the highest value which might be 20 and was entered in the 4th spot. I can only figure out how to get it to display the 20 but I want to display the 4 instead. It has user input so the number that should be displayed may vary and I am unsure how to accomplish this.<br>
  I only need the arrays number to be displayed for the highest and lowest values. I don't know if I am using the wrong kind of array for this not.</p>
  
  <p><a href="https://i.stack.imgur.com/AJL26.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/AJL26.png" alt="The main is the first section which is calling the other functions"></a></p>
  
  <p><a href="https://i.stack.imgur.com/rQv3W.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/rQv3W.png" alt="The getInput function and assigns the entered values to one of 12 numbers in the array"></a></p>
  
  <p><a href="https://i.stack.imgur.com/TGOS2.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/TGOS2.png" alt="The calculateTotal function which just adds all the values up. "></a></p>
  
  <p><a href="https://i.stack.imgur.com/w73LX.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/w73LX.png" alt="The calculateAverage function which takes all the numbers entered and finds the average"></a></p>
  
  <p><a href="https://i.stack.imgur.com/eesoY.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/eesoY.png" alt="The findHigh function which figures out which number entered is the highest. I have another function almost identical to this but finding the lowest. These are the two that need to show the arrays number and not the value that is saved inside of it."></a></p>
  
  <p><a href="https://i.stack.imgur.com/fmjU3.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/fmjU3.png" alt="displayResults function page which will display the values."></a></p>