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.




def noSweat(list: Int*) = list.max
// Test
assert(noSweat(1, 3, 12, 7) == 12)