Originally Posted by
Tyluur
...
The above is my code. What I'm wanting to do is get the lowest ...
A general method for your kind of task:
Declare two int variables: lowest and lowestIndx
Initialize the value of lowestIndex to 0
Initialize the value of lowest to the value from element 0 of the array.
Create a loop that looks at elements of the array, starting with an index value of 1
BEGIN LOOP
IF the array value using the current index value is less than lowest
THEN
Set lowest to the array value using the current index.
Set lowestIndx to the current index value.
END IF
END LOOP
//
// After the loop do whatever you want to do with the value of lowestIndx
//
Cheers!
Z