Whts the logic of this code???? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

Whts the logic of this code????

float xsqrt(float num) { float x, sqrt; sqrt = num / 2; x = 0; while(sqrt != x){ x = sqrt; sqrt = ( num/x + x) / 2; } return (sqrt); }

5th Jan 2021, 3:05 PM
Hamed Taherkhani
Hamed Taherkhani - avatar
0 Answers