How do you find the number with the highest value of x and y?
How do you find the number with the highest value of x and y? Correct Answer Math.max(x,y)
max function is used for comapring and finding maximum values. It is found in the math library. Math.max(x,y) is used to find the highest value of x and y.