Computer Science, asked by gurjargeetansh1, 8 months ago

write the output of the following code Sagement:
double X=2.4, Y=2.4;
System.out.printl (Math.max(Math.ceil (x),
Math.floor (y));
Systém, out println (Math. max (Math.floor(x)
Math ceil (y)));

Answers

Answered by udayagrawal49
2

Answer:

1st output → 3.0

2nd output → 3.0

Please mark it as Brainliest.

Similar questions