This commit is contained in:
Honor 2024-12-16 09:14:42 +04:00
parent 26f0451029
commit f2b13497d3

11
1.cpp
View File

@ -0,0 +1,11 @@
#include <iostream>
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;
}