How to find the square root of a number? | Sololearn: Learn to code for FREE!
¡Nuevo curso! ¡Todo programador debería aprender IA Generativa!
Prueba una lección gratuita
0

How to find the square root of a number?

With C++ language

5th Dec 2021, 10:30 PM
Mahmoud
Mahmoud - avatar
3 Respuestas
5th Dec 2021, 10:47 PM
Amirreza
Amirreza - avatar
+ 4
I'm not good at c++ but But the algorithm must be: get an integer or float number as input then power the input by 1/2
5th Dec 2021, 10:51 PM
Amirreza
Amirreza - avatar
+ 4
Amirreza Hashemi I think you mean "power of 1/2" instead of "multiply by 1/2"?
5th Dec 2021, 10:56 PM
Lisa
Lisa - avatar