diff --git a/exercises/sum.cpp b/exercises/sum.cpp index 0dcca937..0be75c67 100644 --- a/exercises/sum.cpp +++ b/exercises/sum.cpp @@ -6,3 +6,19 @@ Insert the second number: 2 Sum: 3 */ +#include +using namespace std; + +int main() { + int a, b; + + cout << "Insert the first number: "; + cin >> a; + + cout << "Insert the second number: "; + cin >> b; + + cout << "Sum: " << a + b << endl; + + return 0; +}