SyntaxFix
Write A Post
Hire A Developer
Questions
There is the Math.pow(double a, double b) method. Note that it returns a double, you will have to cast it to an int like (int)Math.pow(double a, double b).
Math.pow(double a, double b)
(int)Math.pow(double a, double b)