Sorting algorithms/Bubble sort: Difference between revisions

(→‎{{header|Eiffel}}: Added "works with" template showing need for provisional syntax support.)
Line 929:
 
- main <- (
+ a : ARRAY[(INTEGER]);
 
a := ARRAY[(INTEGER]).create 0 to 100;
`srand(time(NULL))`;
0.to 100 do { i : INTEGER;
Line 945:
);
 
- bubble a : ARRAY[(INTEGER]) <- (
+ lower, size, t : INTEGER;
+ sorted : BOOLEAN;
Anonymous user