This commit is contained in:
Honor 2024-12-02 10:13:41 +04:00
parent 3af0108e80
commit 2016ab78bc

12
1.cpp
View File

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