• Cursos
  • Compilador de Código
  • Discutir
  • Preços
  • Teams
Menu
+ 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); }

c++crootsquaresqrt
5th Jan 2021, 3:05 PM
Hamed Taherkhani
Hamed Taherkhani - avatar
1 Resposta

Costuma ter perguntas como essa?

Aprenda de maneira mais eficiente, de graça:

  • Introdução ao Python

    7.1M de alunos

  • Introdução ao Java

    4.7M de alunos

  • Introdução ao C

    1.5M alunos

  • Introdução ao HTML

    7.5M alunos

Ver todos os cursos
Quente hoje
Fix Rivers in 2D Terrain Map Generator
5 Votes
What Is the most complicated thing you can do
1 Votes
How the operators and commands in this code are executed?
1 Votes
Hello everyone, I want to learn programming, I don't know where to start.
1 Votes
Combination
0 Votes
Will I get the certificate for free if I completed the free course of web development (I am not on pro subscription)
0 Votes
Somebody knows how to solve the problem finance app. Even my result is like it must be, but still I can't pass it
0 Votes
I finished introduction to python
0 Votes
i am begineer
0 Votes
UI and UX
1 Votes