+ 3
How to find out the square of a number using function?
Square of a number
5 Respuestas
+ 6
Emanuel Maliaño , the question is about how to calculate the square of a number, this is explained by Esra. What you are talking about is the square root, this is something different.
- the square of 7 is 7 multiplied by itself = 49
- the square root of 49 is 7
+ 3
Jeziel Salsano R. Marak
Please use appropriate tags for programming language. All we can do here is guess😄😄
+ 2
Lothar 😳😅I read wrong
+ 1
Many programming languages had their own sqrt function.
[Python]
number**number
2**2 = 4
[Java, JavaScript]
Math.pow(n, k)
Math.pow(2, 2) = 4