what will be the output of Math.pow(2,3)
Answers
Answered by
12
Answer:
8
Explanation:
Math.pow(2,3) = 2^3 = 2*2*2 = 8
Answered by
26
Answer:-
Math.pow(x, y) is used to return the value of x raised to the power y. Similarly Math.pow(2,3)
=2^3
=8.0
Math.pow() always returns a value of double data type.
Similar questions