Untitled

mail@pastecode.io avatar
unknown
c_cpp
7 months ago
219 B
0
Indexable
Never
#include <iostream>
#include <string>
using namespace std;

int main()
{
	int n1, n2, n3, n4, n5;
	cin >> n1 >> n2 >> n3 >> n4 >> n5;
	double b = (n1 + n2 + n3 + n4 + n5)/(double)5;
	cout << b;
	return 0;
}