We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents fdd77c6 + f0cffbb commit a98087fCopy full SHA for a98087f
src/Calculator.java
@@ -1,6 +1,8 @@
1
public class Calculator {
2
+
3
public int add(int a, int b) { return a + b; }
- public int subtract(int a, int b) { return a = a - b; }
4
+ public int subtract(int a, int b) { return a - b; }
5
6
public int multiply(int a, int b) { return a * b; }
7
public int divide(int a, int b) { return a / b; }
8
}
0 commit comments