Algoritam sa cikličnom strukturom – petlje sa uslovnim izlazom