diff --git a/calculator.cpp b/calculator.cpp new file mode 100644 index 0000000..1bd1689 --- /dev/null +++ b/calculator.cpp @@ -0,0 +1,8 @@ +#include +using namespace std; +void add(int a, int b) // function to add two numbers +{ + int c=a+b; + cout<<"Sum of 2 numbers "<