Untitled

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

int main()
{
	int N1;
	int N2;
	int N3;
	int N4;
	int N5;

	cin >> N1 >> N2 >> N3;
	cin >> N4;
	cin >> N5;

	float M = float(N1 + N2 + N3 + N4 + N5) / 5;

	cout << M;