#include lt;iostreamgt;
using namespace std;
int main()
{
double a, b, c;
cout lt;lt; "A = ";
cin gt;gt; a;
cout lt;lt; "B = ";
cin gt;gt; b;
cout lt;lt; "C = ";
cin gt;gt; c;
if (a lt;= b)
if (blt;c)
cout lt;lt; "rez = " lt;lt; a*b lt;lt; endl;
else cout lt;lt; "rez = " lt;lt; a*c lt;lt; endl;
else
if (b gt;= c)
cout lt;lt; "rez = " lt;lt; c*b lt;lt; endl;
else if (cgt;a) cout lt;lt; "rez = " lt;lt; a*b lt;lt; endl;
else cout lt;lt; "rez = " lt;lt; c*b lt;lt; endl;
cout lt;lt; endl;
system("pause");
return 0;
}