+ 1
I don't know?!
I have no idea what error am I seeing https://code.sololearn.com/cPIV1Wf8djVC/?ref=app
2 Answers
+ 6
There is no operator ** in java. If you trying power of operator then use Math.pow() method which returns double value.
+ 2
** is from python ;)
4**2 in Java:
Math.pow(4,2)
It returns a double.