how do i write a function that counts the square root of a number?
Printable View
how do i write a function that counts the square root of a number?
What do you mean by "count the square root"?
The Math class has lots of useful methods.
a function that calculates the square root
See the Math class