Untitled

mail@pastecode.io avatar
unknown
plain_text
8 months ago
187 B
2
Indexable
Never
#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);
}
Leave a Comment