in reply to finding highest number

Simply compare $numbers[$i] with $highest rather than $numbers[$i+1], initializing $highest = $numbers[0] (outside of the for).

Hope this helps, -gjb-