Questão #8416
Informática — Informática Diversos
Ao final da execução do algoritmo abaixo, qual será o valor de x?
calculoVariaveis
int x, y;
x = 6;
y = 4;
if (x >= 18)
{
x = Math.Pow(x, y);
}
else
{
if (y {
x = Math.Pow(y, x);
}
else
{
x = Math.Pow(x, x);
}
}
MessageBox.Show(Convert.ToString(x));
}
Escolher uma resposta.
calculoVariaveis
int x, y;
x = 6;
y = 4;
if (x >= 18)
{
x = Math.Pow(x, y);
}
else
{
if (y {
x = Math.Pow(y, x);
}
else
{
x = Math.Pow(x, x);
}
}
MessageBox.Show(Convert.ToString(x));
}
Escolher uma resposta.
Uma questão respondida. E as próximas?
Crie sua conta para acompanhar acertos, erros e receber recomendações no Meu Próximo Passo.
Criar conta grátis