To find the greatest number in the array without max function

conventional method to find the gratest number using for loop 

  Discussion posts and replies are publicly visible