Sorting algorithms/Bubble sort: Difference between revisions

Content added Content deleted
(Correct case)
(Correct capitalisation)
Line 420: Line 420:
(println (bubble-sort [10 9 8 7 6 5 4 3 2 1]))</lang>
(println (bubble-sort [10 9 8 7 6 5 4 3 2 1]))</lang>


=={{header|Cobol}}==
=={{header|COBOL}}==
This is a complete program that reads in a file of integers and sorts them.
This is a complete program that reads in a file of integers and sorts them.
<lang cobol> IDENTIFICATION DIVISION.
<lang cobol> IDENTIFICATION DIVISION.