Whts the logic of this code???? | Sololearn: Learn to code for FREE!
Nouvelle formation ! Tous les codeurs devraient apprendre l'IA générative !
Essayez une leçon gratuite
+ 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 Réponse