What is the output of the following C++ code?
int x = 10;
int y = 20;
if (x < 20 && y > 20)
{
x = 2 * x;
y = y / 2;
cout << x << " " << y << " " << x - y << endl;
}
else
{
x = y / x;
cout << x << " " << y << " " << x * x + y * y << endl;
}
We need at least 10 more requests to produce the solution.
0 / 10 have requested this problem solution
The more requests, the faster the answer.