Skip to content

Commit

Permalink
fixing cubeX
Browse files Browse the repository at this point in the history
  • Loading branch information
motasemaldiab committed Jan 21, 2024
1 parent cdafe7c commit 368910b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/Main.java
Original file line number Diff line number Diff line change
Expand Up @@ -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){
Expand Down

0 comments on commit 368910b

Please sign in to comment.