Untitled
unknown
c_cpp
2 years ago
228 B
9
Indexable
#include <iostream>
using namespace std;
long long pisun(int n, int tvou) {
int sum = (n + tvou)/2;
return sum;
}
int main()
{
int piska;
int tvou;
cin >> piska >> tvou;
cout << pisun(piska, tvou);
}
Editor is loading...
Leave a Comment