How to find maximum and minimum number from an array using function

Published --