Task

Create a function that returns the maximum value in a provided set of values,

where the number of values may not be known until run-time.




sub max {
    my $max = shift;
    for (@_) { $max = $_ if $_ > $max }
    return $max;
}