Untitled

mail@pastecode.io avatar
unknown
plain_text
6 months ago
289 B
1
Indexable
Never
#include <iostream>
#include <string>

using namespace std;

int main() 
{

	int N1,N2,N3,N4,N5;
	
	int n = 5;
	
	cin >> N1>> N2>> N3 >> N4 >> N5;

	int all_marks = N1 + N2 + N3 + N4 + N5;

	float mean_marks = all_marks / n;

	cout << mean_marks;

	return 0;
}