Untitled

mail@pastecode.io avatar
unknown
c_cpp
14 days ago
234 B
0
Indexable
Never
#include <iostream>
using namespace std;

float srar(float a, float b) {
	float c = 2, srar;
	srar = (a + b) / 2;
	return srar;
}

int main() {
	setlocale(LC_ALL, "Russian");
	float a, b;
	cin >> a >> b;
	srar(a, b);
}
Leave a Comment