@@ -0,0 +1,543 @@
+import java.util.Scanner;%0A%0Apublic class MathPower %7B%0A    public static void main(String%5B%5D args) %7B%0A        Scanner scanner = new Scanner(System.in);%0A        double a = Double.parseDouble(scanner.nextLine());%0A        double b = Double.parseDouble(scanner.nextLine());%0A%0A        System.out.println((int)raiseToPower(a, b));%0A    %7D%0A%0A    private static double raiseToPower(double number, double power) %7B%0A        double result = number;%0A%0A        for (int i = 1; i %3C power; i++) %7B%0A            result *= number;%0A        %7D%0A%0A        return result;%0A    %7D%0A%7D%0A

Create 06.MathPower-v2.java