diff --git a/1.cpp b/1.cpp index 2996fba..4ef2db2 100644 --- a/1.cpp +++ b/1.cpp @@ -1 +1,11 @@ -include \ No newline at end of file +#include +int sum(int a, int b) { + return a + b; +} +int main() { + int x, y; + std::cout << "Enter two numbers: "; + std::cin >> x >> y; + std::cout << "Sum: " << sum(x, y) << std::endl; + return 0; +}