Computer Science, asked by nonetheless, 3 months ago

double A=Math.sqrt(Math.max(36,-1));


System.out.println( A);


State the output of the above​

Answers

Answered by kamalrajatjoshi94
1

Answer:

double A=Math.sqrt(Math.max(36,-1));

Output=6.0

Steps how it executed:-

Math.sqrt(Math.max(36,-1));

Math.sqrt(36)

=6.0

Similar questions