Predict the output:
System.out.println(Math.max(Math.ceil(44.24),25.5));
Answers
Answered by
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
Math,
4 days ago
CBSE BOARD X,
4 days ago
English,
9 days ago
English,
8 months ago
English,
8 months ago