#include using namespace std; void sr_arr(int a, int b, int c, int x) { cout << "Среднее арифметическое 4 чисел:" << (a + b + c + x) / 4 << endl; } void sum3(int a, int b, int c) { cout << "Сумма 3 чисел: " << a + b + c << endl; } void _min6() { float _min, x; cin >> _min; for (int i = 0; i < 5; i++) { cin >> x; if (x < _min) _min = x; } cout << "Наименьшее:" << _min; } int main() { setlocale(LC_ALL, "Rus"); sr_arr(1, 2, 3, 4); sum3(1, 2, 3); _min6(); return 0; }