New course! Every coder should learn Generative AI!
Try a free lesson+ 3
Can you find square root of any number using c++ without using pow or sqrt function?
2 Answers
+ 1
not cpp but i guess it works too.
the longer the for loop the more accurate the result.
https://code.sololearn.com/ciYaKc6rTE6s/?ref=app