1.

Predict the output: - System.out.println (Math ceil(-2.68)....computer plz ..​

Answer» ONG>ANSWER:

Your answer is -2.

Explanation:

In JavaScript, CEIL() is a function that is USED to return the smallest integer VALUE that is greater than or equal to a number.

For example:

console.log(Math.ceil(32.65));

console.log(Math.ceil(8.1));

console.log(Math.ceil(-4.2));

Output:

33

9

-4

Hope it helps!!



Discussion

No Comment Found