system.out.println(Math.ceil(8.5));
Answers
Answered by
1
Answer:
The Math.ceil() function always rounds a number up to the next largest integer.
Answered by
36
system.out.println(Math.ceil(8.5));
_______________________________
9.0
_______________________________
Math.ceil() is used to return the higher integer for the given argument.
_______________________________
Similar questions