Computer Science, asked by alokk32316, 8 months ago

Predict the output:- System.out.println(math.ceil(-2.68)) please answer ot correctly..its very urgent. ​

Answers

Answered by Kaushikkalesh
2

Output will be -2

Because, ceil() rounds off to the nearest biggest number

Please Thank Me

And Mark this as Brainliest

Answered by scienceworm1
5

ᴛʜᴇ ᴏᴜᴛᴘᴜᴛ ᴡɪʟʟ ʙᴇ -2 ᴍᴀᴛᴇ

ʜᴏᴘᴇ ɪᴛ ʜᴇʟᴘᴇᴅ ᴜʜʜ ❤

Similar questions