logo

Crowdly

Замінити умовну операцію еквівалентною командою розгалуження. int a=-1, ...

✅ The verified answer to this question is available below. Our community-reviewed solutions help you understand the material better.

Замінити

умовну операцію еквівалентною командою розгалуження.

int

a=-1, b=1, x;

x = ( a < b ) ? a -= b : b -= a;

cout

<< a << endl;

cout

<< b << endl;

cout << x << endl;

More questions like this

Want instant access to all verified answers on vns.lpnu.ua?

Get Unlimited Answers To Exam Questions - Install Crowdly Extension Now!