Considere o trecho de código abaixo. O que será impresso quando o programa for executado?
int main()
{
int contador = 1; //declarando e inicializando a variável de controle

while (contador < 10) // Testando a condição
{
printf("%d ", contador); //Executando um comando dentro do laço

contador++; //atualizando a variável de controle
}

return 0;
}




0 1 2 3 4 5 6 7 8 9 10 11

1 2 3 4 5 6 7 8 9

1 2 3 4 5 6 7 8 9 10 11

1 2 3 4 5 6 7 8 9 10

0 1 2 3 4 5 6 7 8 9 10
Please enter comments
Please enter your name.
Please enter the correct email address.
You must agree before submitting.

Lista de comentários


More Questions From This User See All

Recomendar perguntas

Helpful Social

Copyright © 2025 ELIBRARY.TIPS - All rights reserved.