How to take square root in coding

how to take square root in coding

You can use the inbuilt function…
For ex
Math.sqrt(9)
The value returned by the function is of type double…
You can also find out the integral part of square root by using binary search…

1 Like

Hi Nipun
As you are not responding to this thread, I am marking your doubt as Resolved for now. Re-open it if required.
Please mark your doubts as resolved in your course’s “ Ask Doubt ” section, when your doubt is resolved.