Please specify the language you're using; here it is in Java:
public int findHighestIndex(double[] arr, int arrSize)
However it must be said - this implementation is poor. You you shouldn't need to pass the size of the array, this can be done using a suitable method/attribute, depending on the language (arr.length, in Java).