Folosirea buclelor Do... pentru un număr variabil de repetări