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.




fn main() {
    let nums = [1,2,39,34,20];
    println!("{:?}", nums.iter().max());
    println!("{}", nums.iter().max().unwrap());
}