added arithmetic code

This commit is contained in:
Aurelien LOHMANN 2022-03-30 08:47:12 +02:00
parent e79a1bf114
commit a5b176f4f0
2 changed files with 8 additions and 0 deletions

7
arithmetic.cpp Normal file
View File

@ -0,0 +1,7 @@
#include "arithmetic.h"
int add(int a, int b)
{
int c = a + b;
return c;
}

1
arithmetic.h Normal file
View File

@ -0,0 +1 @@
int add(int, int);