Anonymous user
Sorting algorithms/Bogosort: Difference between revisions
→{{header|Eiffel}}
(Nimrod -> Nim) |
|||
Line 542:
io.put_string ("Unsorted: ")
across test as t loop io.put_string (t.item.out + " ") end
create sorter
io.put_string ("%NSorted: ")
across
end
test: ARRAY[INTEGER]
sorter: BOGO_SORT
end
|