diff --git a/calculator.cpp b/calculator.cpp new file mode 100644 index 0000000..23b2bb3 --- /dev/null +++ b/calculator.cpp @@ -0,0 +1,6 @@ +#include "calculator.h" + +int Calculator::Add (int a, int b) +{ + return a + b; +} diff --git a/calculator.h b/calculator.h new file mode 100644 index 0000000..6b87fdc --- /dev/null +++ b/calculator.h @@ -0,0 +1,5 @@ +class Calculator +{ + public: + int Add (int, int); +};