Computer Science, asked by ortan723, 2 months ago

write the output of the following java
i} Math.max (Math.min (9,-4), Math.min(5,15))​

Answers

Answered by amansarrafas24payxgs
1

Answer:

Output:

Output:5

Explanation:

Math.max(Math.min(9,-4),Math.min(5,15))

Math.max(-4,5)

Therefore,

5>-4 so the answer is 5.

I hope you find it useful... If you have any query do comment, I will try to solve it...

Similar questions