logo

Crowdly

Browser

Add to Chrome

Del siguiente fragmento de código: int x = 5; int y = 0; int z = 1; whil...

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

Del siguiente fragmento de código:

int x = 5;

int y = 0;

int z = 1;

while(x > y){

if (y % 2 == 0){

z += (y * 2);

}else if (z % y == 0){

z = x;

}

y++;

}

cout << "x = " << x << ", ";

cout << "y = " << y << ", ";

cout << "z = " << z << endl;

¿Qué valores se imprimen por consola para las variables x, y y z?

0%
0%
0%
0%
More questions like this

Want instant access to all verified answers on campusvirtual.usergioarboleda.edu.co?

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

Browser

Add to Chrome