4)int main()
{
int a, b, c, h, text;
double S;
cout
cin >> a;
cout
cin >> b;
cout << "Enter c: ";<br> cin >> c;
cout
if ((a + b) > c)
if ((a + c) > b)
if ((b + c) > a)
cout
else cout
{
cout
cin >> text;
if (text == 1)
{
cout
cin >> h;
S = a * h * 0.5;
cout
}
else
cout
}
return 0;
}