Skip to content

Commit cebd3e4

Browse files
modified f/c
1 parent 48b8cc8 commit cebd3e4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Calculator.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ public int multiply(int a, int b) {
1313

1414
public double divide(int a, int b) {
1515
if (b == 0) {
16-
throw new IllegalArgumentException("Division by zero is not allowed.");
16+
throw new IllegalArgumentException("Division by zero is not allowed.b can't be zero.");
1717
}
1818
return (double) a / b;
1919
}

0 commit comments

Comments
 (0)