Can you find square root of any number using c++ without using pow or sqrt function? | Sololearn: Learn to code for FREE!
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?

16th Nov 2017, 12:35 PM
Sayen Dutta
Sayen Dutta - avatar
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
16th Nov 2017, 1:06 PM
Jeremy
Jeremy - avatar