✅ 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?