Browse Source

added minus function

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

4
src/main/c/main_taschenrechner.c

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

2
src/main/c/taschenrechner.h

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