Browse Source

addition operation

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

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

@ -62,4 +62,7 @@ void displayMenu() {
printf("3. Multiply\n");
printf("4. Divide\n");
printf("5. Exit\n");
}
int add(int num1, int num2) {
return num1 + num2;
}
Loading…
Cancel
Save