I am having a problem with getting the lowest value in an array, although everything else is working fine (even getting the highest value in an array.) What is causing my error? I thought it was maybe the highest value that's messing with the numbers so I comment it out, although I'm still not able to get the right lowest value. I am getting a large negative number.
The problem is you didn't initialize 'highest' and 'lowest' properly.
Try not initialize your 'highest' and 'lowest' at line 15.
Add the following lines before line 35 (before the for loop)