Multiple choice technology databases

How do you find the number with the highest value of x and y?

  1. ceil(x,y)

  2. Math.ceil(x,y)

  3. Math.max(x,y)

  4. top(x,y)

Reveal answer Fill a bubble to check yourself
C Correct answer
Explanation

Math.max(x, y) is the standard function used across many programming languages to find the larger of two numerical values.