#include <iostream>
using namespace std;
int main()
{
double x, y, z, n;
setlocale(LC_ALL, "Russian");
cout << "Введите X, Y, Z: ";
cin >> x >> y >> z;
n = __max (x + y + z, x * y * z) / __min (x + y + z, x * y * z);
cout << "N = " << n;
}
#include <iostream>
using namespace std;
int main()
{
double x, y, z, n;
setlocale(LC_ALL, "Russian");
cout << "Введите X, Y, Z: ";
cin >> x >> y >> z;
n = __max (x + y + z, x * y * z) / __min (x + y + z, x * y * z);
cout << "N = " << n;
}