Computer Science, asked by raj1900050, 5 months ago

Differentiate between floor () and ceil () method of Math class

it's argent ​

Answers

Answered by Kean
1

Answer:

floor () always gives a value less than the given number.

ceil() always gives a value greater than the given number.

please mark brainliest

Answered by skhan9431400875
1

Answer: While the Math. ceil method returns the smallest integer greater than or equal to the value we pass, Math. floor returns the largest or equal integer that is less than the given value.

                           now mark me as brainiest

Similar questions