From 443de543683659877897663aadfc2602e97bfd4e Mon Sep 17 00:00:00 2001 From: Julian Date: Wed, 30 Mar 2022 09:21:53 +0200 Subject: [PATCH] + --- arithmetic.cpp | 7 +++++++ arithmetic.h | 2 ++ 2 files changed, 9 insertions(+) create mode 100644 arithmetic.cpp create mode 100644 arithmetic.h diff --git a/arithmetic.cpp b/arithmetic.cpp new file mode 100644 index 0000000..0fcfec5 --- /dev/null +++ b/arithmetic.cpp @@ -0,0 +1,7 @@ +#include arithmetic.h + +int add(int a, int b) +{ + int c = a+b; + return c; +} diff --git a/arithmetic.h b/arithmetic.h new file mode 100644 index 0000000..a4d2f8f --- /dev/null +++ b/arithmetic.h @@ -0,0 +1,2 @@ +int add(int,int); +