This method returns the maximum value from a list of numbers.
number1, number2, …numberN − The list of numbers for which the maximum values need to be determined.
The maximum value from the list of values.
/* Main program */ say MAX(10,20,30)
When we run the above program we will get the following result.