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 4372ddb + 2913653 commit c82bd40Copy full SHA for c82bd40
myaddition/Calculator.java
@@ -1,6 +1,6 @@
1
public class Calculator {
2
- public int add(int a, int b){ return a + b; }
3
- public int subtract(int a, int b){ return a - b; }
4
- public int multiply(int a, int b){ return a * b; }
5
- public double divide(int a, int b){ return (double)a / b; }
+ public int add(int a, int b) { return a + b; }
+ public int subtract(int a, int b) { return a - b; }
+ public int multiply(int a, int b) { return a * b; }
+ public double divide(int a, int b) { return (double)a / b; }
6
}
0 commit comments