Originally Posted by Tyluur
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
IF the array value using the current index value is less than lowest
Set lowest to the array value using the current index.
Set lowestIndx to the current index value.
// After the loop do whatever you want to do with the value of lowestIndx