Computer Science, asked by MARYVENNELA2833, 6 months ago

System.out.println(Math.sqrt(Math.ceil(15.8))); what is the output

Answers

Answered by dattarajshinde44
0

Answer:

4

Explanation:

Answered by Anonymous
0

 {\boxed{\underline{\purple{\bf\tt{Code:} } }}}

System.out.println(Math.sqrt(Math.ceil(15.8)));

 {\boxed{\underline{\green{\bf\tt{Evaluation :} } }}}

Math.ceil(15.8) will return 16

And

Math.sqrt(Math.ceil(15.8))

Math.sqrt(16)

=4

 {\boxed{\underline{\orange{\bf\tt{Output :} } }}}

4

Similar questions