Register Now

Login

Lost Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Which of these methods return a smallest whole number greater than or equal to variable X?

a) double ceil(double X)
b) double floor(double X)
c) double max(double X)
d) double min(double X)

Answer: a
Explanation: ceil(double X) returns the smallest whole number greater than or equal to variable X.

Join The Discussion