Untitled
Anonymous
plain_text
02/08/2024 5:36 PM
252 B
18
Indexable
#include <iostream>
using namespace std;
float sr(int a, int b) {
return (float) (a + b) / 2;
}
int main()
{
int a, b;
cin >> a >> b;
cout << sr(a, b);
}
Editor is loading...
Leave a Comment