Вычислитель средней оценки

 avatar
unknown
c_cpp
2 years ago
381 B
2
Indexable
// получить из сантиметров дюймы
// 

#include <iostream>
#include <string>
#include <clocale>
using namespace std;


int main() 
{
	setlocale(LC_ALL, "Russian");
	int a;
	int b;
	int c;
	int d;
	int e;
	
	cin >> a >> b >> c >> d >> e;

	double i = (a + b + c + d + e) / 5.00;

	cout << "средняя оценка:" << i;



} 
Editor is loading...