We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 2fffe81 + 58597ec commit f86a250Copy full SHA for f86a250
1 file changed
src/main/java/com/thealgorithms/calculator.java
@@ -2,8 +2,9 @@
2
3
public class calculator {
4
public int add(int a, int b) {
5
- return a + b+1;
6
- }
+ return a + b; // different change
+}
7
+
8
9
public int subtract(int a, int b) {
10
return a - b;
0 commit comments