+ 1

I don't know?!

I have no idea what error am I seeing https://code.sololearn.com/cPIV1Wf8djVC/?ref=app

13th Oct 2022, 2:31 PM
Kaushik
Kaushik - avatar
2 ответов
+ 6
There is no operator ** in java. If you trying power of operator then use Math.pow() method which returns double value.
13th Oct 2022, 2:40 PM
Jayakrishna 🇮🇳
+ 2
** is from python ;) 4**2 in Java: Math.pow(4,2) It returns a double.
13th Oct 2022, 6:37 PM
Denise Roßberg
Denise Roßberg - avatar