Sorting algorithms/Bubble sort: Difference between revisions

Content added Content deleted
m (→‎version 3, random integers, horizontal list, with interim plots: added comments to the REXX section header concerning the annotation to the plot progress (snapshots).)
Line 1,397: Line 1,397:
=={{header|Elena}}==
=={{header|Elena}}==
{{trans|C#}}
{{trans|C#}}
ELENA 4.x :
ELENA 4.1 :
<lang elena>import system'routines;
<lang elena>import system'routines;
import extensions;
import extensions;
Line 1,429: Line 1,429:
public program()
public program()
{
{
var list := new int[]{3, 7, 3, 2, 1, -4, 10, 12, 4};
var list := new int[]::(3, 7, 3, 2, 1, -4, 10, 12, 4);
console.printLine(list.bubbleSort().asEnumerable())
console.printLine(list.bubbleSort().asEnumerable())
}</lang>
}</lang>