Browse Source

division operation

remotes/origin/Ulrich
Ulriche Nguefack 11 months ago
parent
commit
27c6bf0510
  1. 3
      src/main/c/Calculator/calculator.c

3
src/main/c/Calculator/calculator.c

@ -72,4 +72,7 @@ int subtract(int num1, int num2) {
} }
int multiply(int num1, int num2) { int multiply(int num1, int num2) {
return num1 * num2; return num1 * num2;
}
int divide(int num1, int num2) {
return num1 / num2;
} }
Loading…
Cancel
Save