Compare commits

...

1 Commits

Author SHA1 Message Date
Honor
2016ab78bc com 2024-12-02 10:13:41 +04:00

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;
}