public class PowerOf {
private static double base = 8;
private static double exponent = 3;
private static double result = Math.pow(base, exponent);
public static void main(String args[]) {
System.out.println(base + " to the power of " + exponent + " equals: " + result);
}
}