Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- main()
- {
- // Repetição de 0 a 5
- // INICIO; DO { INCREMENTO; } WHILE(CONDICAO);
- // Teste condicional no final
- int k = 0; // Início
- do
- {
- print(k);
- k++; // Incremento
- } while(k < 5); // Condição
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement