Computer Science, asked by rishika006, 9 days ago

Predict the output:
System.out.println(Math.max(Math.ceil(44.24),25.5));​

Answers

Answered by mahit1194
0

Answer:

Math.ceil(14.55) gives 15.0 as it is the smallest whole number greater than 14.55. After that Math.Max() becomes Math.max(15.0, 15.5). As 15.5 is greater than 15.0, it is the output.

Similar questions