+ 5
Powers
in java how do we express powers i mean with the operators, can i have an example?
1 Antwort
+ 2
You can't with operators.
^ is used for 'xor'.
You can use Math.pow(num,power)...
A sample.
https://code.sololearn.com/c0EupxmXvO6I/?ref=app
in java how do we express powers i mean with the operators, can i have an example?