+ 1
How Do You Do Exponentiation???
Hello... Im a starter here. Would anybody teach me how to solve ‘Exponentiation’ clearly?
8 odpowiedzi
+ 1
Well to do exponentiation u need to use ** operator
Eg 2**2=4
+ 11
Use pow() function or recursive function.
https://www.programiz.com/c-programming/examples/power-number
+ 1
Well using what language? Python , cpp or JS?
+ 1
Thank you!
+ 1
uhh... Python?
+ 1
Thank you everybody for helping me! 🙂
+ 1
Yes bro then (**) operator will work
Eg.
print(3**3)
Output :
9
Thanks
+ 1
Thank you again! 🙂