Jump to content

Sorting algorithms/Bubble sort: Difference between revisions

→‎{{header|Eiffel}}: Added "works with" template showing need for provisional syntax support.
(Added entry for Eiffel.)
(→‎{{header|Eiffel}}: Added "works with" template showing need for provisional syntax support.)
Line 487:
 
=={{header|Eiffel}}==
{{works with|EiffelStudio|6.6 beta (with provisional loop syntax)}}
 
This solution is presented in two classes. The first is a simple application that creates a set, an instance of <code lang="eiffel">MY_SORTED_SET</code>, and adds elements to the set in unsorted order. It iterates across the set printing the elements, then it sorts the set, and reprints the elements.
Cookies help us deliver our services. By using our services, you agree to our use of cookies.