Sorting algorithms/Quicksort: Difference between revisions

Line 5,904:
%%% prolog-indent-width: 2
%%% end:</lang>
 
{{out}}
<pre>$ mmc quicksort_task_for_lists.m && ./quicksort_task_for_lists
unsorted: [1, 3, 9, 5, 8, 6, 5, 1, 7, 9, 8, 6, 4, 2]
sorted: [1, 1, 2, 3, 4, 5, 5, 6, 6, 7, 8, 8, 9, 9]</pre>
 
=={{header|Modula-2}}==
1,448

edits