diff --git a/src/main/java/Main.java b/src/main/java/Main.java index 14ce859..258aaad 100644 --- a/src/main/java/Main.java +++ b/src/main/java/Main.java @@ -14,7 +14,7 @@ public static void main(String[] args) { } public static int cubeX(int x){ - return x * x ; + return x * x * x; } public static int squareX(int x){