What will be the output for the following: System.out.print( Math.pow( 3,2)+ Math.sqrt(16)+5)
Answers
Answered by
1
Answer:
18
Explanation:
Math.pow( 3,2)= 3²=9
Math.sqrt(16)+5= 4+5=9
System.out.print( Math.pow( 3,2)+ Math.sqrt(16)+5)
it will print 18
Answered by
0
Answer:
18.0
Explanation:
In java Math returns in double type
Mark as brainliest : )
Similar questions