Untitled

mail@pastecode.io avatar
unknown
plain_text
6 months ago
291 B
1
Indexable
Never
#include <iostream>
using namespace std;

int main()
{
	setlocale(0, "");
	int n1;
	int n2;
	int n3;
	int n4;
	int n5;

	cin >> n1 >> n2 >> n3 >> n4 >> n5;
	
	double sred;

	sred = (double)(n1 + n2 + n3 + n4 + n5) / 5;

	cout << "средняя оценка - " << sred;
}