Anonymous user
Sorting algorithms/Bubble sort: Difference between revisions
→{{header|Lisaac}}
(→{{header|Eiffel}}: Added "works with" template showing need for provisional syntax support.) |
|||
Line 929:
- main <- (
+ a : ARRAY
a := ARRAY
`srand(time(NULL))`;
0.to 100 do { i : INTEGER;
Line 945:
);
- bubble a : ARRAY
+ lower, size, t : INTEGER;
+ sorted : BOOLEAN;
|