Computer Science, asked by hardikkund123, 3 months ago

(1) Give the output of the following Math function.
Math.ceil(-6.892);​

Answers

Answered by kamalrajatjoshi94
1

Answer:

It will return -6.0

Math.ceil returns the smallest number is which is greater than or equal to the argument and always returns a double value. In negative side it

returned -6.0 as it is greater than the argument hence -6.0 answer...............

Similar questions