Untitled
unknown
c_cpp
8 months ago
228 B
2
Indexable
Never
#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); }
Leave a Comment