Computer Science, asked by SOURABH4506, 13 days ago

Find the error int d= Math.sqrt(49);

Answers

Answered by Rajkd180203
0

Answer:

int d= Math.sqrt(49); is wrong and should be corrected to

double d= Math.sqrt(49);

Explanation:

Math.sqrt() always returns a double data type.

Similar questions