Browse Source

added multiply function

remotes/origin/feature
Enrico Schellenberger 11 months ago
parent
commit
2088b143b6
  1. 4
      src/main/c/main_taschenrechner.c
  2. 2
      src/main/c/taschenrechner.h

4
src/main/c/main_taschenrechner.c

@ -14,3 +14,7 @@ int add(int a, int b) {
int minus (int a, int b){
return a - b;
}
int multiply(int a, int b) {
return a * b;
}

2
src/main/c/taschenrechner.h

@ -5,4 +5,6 @@ int add(int a, int b);
int minus(int a, int b);
int multiply(int a, int b);
#endif // TASCHENRECHNER_H
Loading…
Cancel
Save