+ 2
What about roots sqare and cubic? Are them operators too?
3 odpowiedzi
+ 3
In languages with ** operator, you can do x ** 0.5 to get the root.
+ 15
java have Math.pow () , Math.sqrt () , U can make your own methods also ☺
+ 3
There is no operator for square root, depending on language there might be a function (see sqrt in C):
https://www.tutorialspoint.com/c_standard_library/c_function_sqrt.htm