Write a program that takes in three integers and outputs the largest value. If the input integers are the same, output the integers' max.
a) if x > y > z, output x
b) if y > x > z, output y
c) if z > x > y, output z
d) max of [x, y, z] is z