Anonymous user
Ludic numbers: Difference between revisions
→{{header|Eiffel}}
Line 504:
ludic
--- forces the first element (initial[1]) of the initial array into ludic_numbers
--- before deleting it and all multiples of
local
count: INTEGER
Line 529:
ar_not_empty: ar.count >0
local
do
create s_array.make_empty
Line 566:
make
local
do
io.put_string ("%NLudic numbers up to 25. %N")
across ludic.ludic_numbers.subarray (1, 25) as ld loop io.put_string (ld.item.out + "%N") end
io.put_string ("%NLudic numbers from 2000 ... 2005. %N")
io.put_integer (count)
end
|