Browse Source

subtraction operation

remotes/origin/Ulrich
Ulriche Nguefack 11 months ago
parent
commit
7becd9e0b0
  1. 4
      src/main/c/Calculator/calculator.c

4
src/main/c/Calculator/calculator.c

@ -65,4 +65,8 @@ void displayMenu() {
} }
int add(int num1, int num2) { int add(int num1, int num2) {
return num1 + num2; return num1 + num2;
}
int subtract(int num1, int num2) {
return num1 - num2;
} }
Loading…
Cancel
Save