How do you find the number with the highest value of x and y?
A
ceil(x,y)
B
top(x,y)
C
Math.ceil(x,y)
D
Math.max(x,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.