Untitled

mail@pastecode.io avatar
unknown
plain_text
a year ago
235 B
1
Indexable
Never
#include <iostream>
using namespace std;
int main()
{
	double a;
	cin >> a;
	double b;
	cin >> b;
	double c;
	cin >> c;
	double d;
	cin >> d;
    double f;
	cin >> f;
	double r = (a + b + c + d + f) / 5;
	cout << r;
}