Range Min Max « Range « Ruby






1.Get the min element in a range
2.Get the max element in a range
3.The range min and max methods return the first and last elements in an array: