I'm not sure why you're indexing the array backwards in findLowest, but you access array[size], which is out-of-bounds. Should be:


int findLowest (int array[], int size)
{
int lowest =...