Computer Science, asked by fidhafathima8c, 6 hours ago

Predict output of the following : (i) Math.max(-10,-15) + Math.round(-10.72) (ii) Math.pow(36,0.5) + Math.cbrt(8.0)

Answers

Answered by ItzStarx
1

Answer:

i) -21

ii) 8

Explanation:

i) Math max will give maximum no i.e. -10

and math round will round off it to -11

Both will add up to give -21

ii) math will give 36 raise to power 0.5 i.e. 6

math cbrt will give cube root of 8 i.e. 2

both will add up to give 8

.. Hope It Helps You ^_^ ..

Similar questions