La principal diferencia es que el conjunto de declaraciones de un ciclo do-while siempre se ejecuta al menos una vez, porque la condición del do-while es evaluada al final de cada iteración.
The main difference is that the set of statements of a repeat-while loop is always executed at least once, because the condition of the repeat-while is evaluated at the end of each iteration.
Un ciclo do-while siempre se ejecuta al menos una vez.
El mismo error puede ocurrir si un cicle do-while se usa en vez de un ciclo while o viceversa.
Another such error can occur if a do-while loop is used in place of a while loop (or vice versa.)
El programa se inicia con el bucle do-while y se queda allí por 20 ciclos.
The program starts with the do-until loop and remains herein for 20 cycles.
La diferencia con el ciclo while es que el do while primero ejecuta la instrucción y luego revisa la condición.
Contrast with the while loop, which tests the condition before the code within the block is executed.
Potentieel gevoelige of ongepaste informatie
Er worden alleen voorbeelden gegeven om u te helpen het woord of de woordcombinatie waarop u hebt gezocht, te vertalen. Deze worden niet door ons geselecteerd of gevalideerd en kunnen ongepaste taal bevatten. Wij vragen u melding te maken van voorbeelden die dienen te worden aangepast of verwijderd. Vertalingen met grof of informeel taalgebruik worden meestal rood of oranje gemarkeerd.