What will be output for the following:
(i) Math.ceil(8.1)
Answers
Answered by
0
Answer:
The output of the programme is: 9
Explanation:
The Math.ceil() function always rounds a number up to the next largest integer. Here the next integer is 9, so the answer is nine.
Similar questions