This commit is contained in:
2026-04-09 15:08:25 +02:00
parent 1914d5c691
commit 6c6929bcb1
16 changed files with 3779 additions and 0 deletions
@@ -0,0 +1,17 @@
#ifndef CALCULATOR_H
#define CALCULATOR_H
typedef int (*operator)(int, int);
enum operation
{
ADD,
SUB,
MUL,
DIV,
MOD,
};
int calculator(int a, int b, enum operation op);
#endif /* ! CALCULATOR_H */