From 2016ab78bca4524112c73357711fbfb07fa6f1fc Mon Sep 17 00:00:00 2001 From: Honor Date: Mon, 2 Dec 2024 10:13:41 +0400 Subject: [PATCH] com --- 1.cpp | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) 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; +}