java
sqrt math.h In C, the sqrt() function from math.h calculates the square root of a number.
In Java, you can use Math.sqrt(), which works the same way. It returns the positive square root of a given number as a double.
1
vote