Skip to content

Commit

Permalink
Intentional issue with the multiply method
Browse files Browse the repository at this point in the history
  • Loading branch information
jasonlines committed May 10, 2024
1 parent 4ec85ca commit 735c528
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/Calculator.java
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ public double add(double a, double b){
}

public double multiply(double a, double b){
return a * b;
return a + b;
}

public static void main(String[] args){
Expand Down

0 comments on commit 735c528

Please sign in to comment.