Home / CSE / Javascript - CS :: Discussion

Discussion :: Javascript - CS

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

  2. A.

     ceil(x,y)

    B.

     top(x,y)

    C.

     Math.ceil(x,y)

    D.

     Math.max(x,y)

    View Answer

    Workspace

    Answer : Option D

    Explanation :

    Math.max(x,y) is used to find the highest value of x and y.


Be The First To Comment