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
Business Studies,
4 months ago
Computer Science,
4 months ago
Math,
4 months ago
English,
9 months ago
Biology,
1 year ago
CBSE BOARD X,
1 year ago