Luiz Thiago Silva DESENVOLVIMENTO DE UM ... - Ginux
Luiz Thiago Silva DESENVOLVIMENTO DE UM ... - Ginux
Luiz Thiago Silva DESENVOLVIMENTO DE UM ... - Ginux
You also want an ePaper? Increase the reach of your titles
YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.
Abaixo é mostrado o autômato que representa a estrutura<br />
de controle while da linguagem C.<br />
Figura 13: Módulo while<br />
4.6.5 Estrutura do-while<br />
A estrutura do-while cria um ciclo repetido até que a condição seja<br />
não seja mais satisfeita, diferentemente das estruturas for e while esta<br />
estrutura garante que o condigo seja executado pelo menos uma vez, pois<br />
o teste só é feito no final da estrutura.<br />
Forma geral:<br />
do<br />
;<br />
while (condição);<br />
A seguir é mostrado o autômato que representa a estrutura<br />
de controle while da linguagem C.<br />
35