Buscar

Identify the type of loop structure described in the following statement: 'a loop structure with a condition, it will only happen if the condition ...

Identify the type of loop structure described in the following statement: 'a loop structure with a condition, it will only happen if the condition is satisfied, then it repeats until the condition is met. The do-while loop looks a lot like the while loop, but its condition is at the end and it analyzes what is inside the code, that is, the while only enters if the condition is accepted, while the do-while only stops the repetition if the condition is confirmed.'


for loop
while loop
do-while loop
if-else statement

Essa pergunta também está no material:

Atividade 1 (A1) - TÉCNICAS DE PROGRAMAÇÃO
1 pág.

Técnicas de Programação Centro Universitário das Faculdades Metropolitanas UnidasCentro Universitário das Faculdades Metropolitanas Unidas

Respostas

User badge image

Ed Verified user icon

A estrutura de loop descrita na declaração é a do-while loop. Nessa estrutura, o código é executado pelo menos uma vez, e depois a condição é verificada. Se a condição for verdadeira, o código é repetido até que a condição seja falsa.

0
Dislike0

Faça como milhares de estudantes: teste grátis o Passei Direto

Esse e outros conteúdos desbloqueados

16 milhões de materiais de várias disciplinas

Impressão de materiais

Agora você pode testar o

Passei Direto grátis

Você também pode ser Premium ajudando estudantes

Responda

SetasNegritoItálicoSublinhadoTachadoCitaçãoCódigoLista numeradaLista com marcadoresSubscritoSobrescritoDiminuir recuoAumentar recuoCor da fonteCor de fundoAlinhamentoLimparInserir linkImagemFórmula

Para escrever sua resposta aqui, entre ou crie uma conta

User badge image