Computer Science, asked by shynimanu1234, 3 months ago

what will be the following function return when executed math. ceil (-7.8)​

Answers

Answered by adityapandey6191
4

Answer:

it will return (-7.0)

Explanation:

.

.

hope it helped..if it did helped mark as brainliest please.

Answered by Oreki
3

Answer:

Math.ceil(-7.8) will return -7.0

Explanation:

Math.ceil( ) returns the smallest integer which is greater than or equal to the argument.

It always returns the value as double data type.

Similar questions