Computer Science, asked by 786sohailakhter, 4 months ago

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

Answers

Answered by Anonymous
0

Answer:

A = 6.0

Explanation:

=> Math.max(a,b) returns the greater number from a and b.

=> So, Math.max(36,-1) returns 36.

=> Math.sqrt(36)  = 6.0

=> So, the value of A will be 6.0

Similar questions