How to square root in C# (help needed) | Sololearn: Learn to code for FREE!
¡Nuevo curso! ¡Todo programador debería aprender IA Generativa!
Prueba una lección gratuita
+ 1

How to square root in C# (help needed)

So my older brother challenged me to do the quadratic function in C# and I can't seem to find a way to do the square root of a number.. Help? Ps: so far i've learned all the way to classes and objects, if the sqrt of an int is still beyond my knowledge, let me know, fellow human.

15th Oct 2018, 2:19 PM
iKo
2 Respuestas
+ 5
Math.Pow(number, 0.5)
15th Oct 2018, 3:04 PM
Roneel
Roneel - avatar