From 2732ac4fb8d17fcfe72ecc7a6457d01bd07a42e4 Mon Sep 17 00:00:00 2001 From: RavilGismatullin Date: Mon, 16 Dec 2024 09:28:47 +0400 Subject: [PATCH] ffefe --- 1.cpp | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/1.cpp b/1.cpp index e69de29..04b6ac8 100644 --- a/1.cpp +++ b/1.cpp @@ -0,0 +1,11 @@ +#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; +} \ No newline at end of file