Sorting algorithms/Bubble sort: Difference between revisions
Content added Content deleted
(→{{header|BASIC}}: Added trans template) |
m (→{{header|Ada}}: added code highlighting) |
||
Line 19: | Line 19: | ||
{{works with|GCC|4.1.2}} |
{{works with|GCC|4.1.2}} |
||
<ada> generic |
|||
type Element is private; |
type Element is private; |
||
with function "=" (E1, E2 : Element) return Boolean is <>; |
with function "=" (E1, E2 : Element) return Boolean is <>; |
||
Line 62: | Line 62: | ||
end loop; |
end loop; |
||
New_Line; |
New_Line; |
||
end Main; |
end Main;</ada> |
||
=={{header|ALGOL 68}}== |
=={{header|ALGOL 68}}== |
||
MODE DATA = INT; |
MODE DATA = INT; |