RosettaCodeData/Task/Loops-Break/Eiffel/loops-break.e

16 lines
220 B
Text
Raw Permalink Normal View History

2023-07-01 11:58:00 -04:00
example
-- Eiffel example code
local
n: INTEGER
r: RANDOMIZER
do
from
create r
n := r.random_integer_in_range (0 |..| 19)
until
n = 10
loop
n := r.random_integer_in_range (0 |..| 19)
end
end