Computer Science, asked by monika966, 7 months ago

5. What will be output by this code line ?
System.out.println(Math.floor(-5.1));
(d) -6.0
(a) -5
(b) -5.0
(c) -6
( d) none of of the above​

Answers

Answered by Anonymous
6

Explanation:

Your answer is option (d)...none of the above...

Correct answer is 5.0 ...ok...

Hope this helps u...mark me as Brainiest...and give THANKS on my answers...please...

Thank uh...♥️

Answered by Anonymous
0

Answer:

option a)

HOPE THIS WILL HELPS U.....Be happy.......

Similar questions