comm22
This commit is contained in:
parent
f04ea942db
commit
43e71b4b0a
11
Source1.cpp
11
Source1.cpp
@ -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;
|
||||||
|
}
|
Loading…
x
Reference in New Issue
Block a user