#include using std::cout; using std::cin; using std::endl; int biggest(int, int); //Функция нахождения большего из 2-ух чисел int main() { int a, b, c, d; cout << "Enter the four numbers: "; cin >> a >> b >> c >> d; cout << "Biggest: " << biggest(biggest(a, b), biggest(c, d)) << endl; cin.get(); return 0; } int biggest(int x, int y) { if(x > y) { return x; } else return y; }