Data commit
This commit is contained in:
parent
7387c8f97b
commit
cb5bb5e222
199093 changed files with 3378972 additions and 0 deletions
14
Task/Sort-an-integer-array/BaCon/sort-an-integer-array.bacon
Normal file
14
Task/Sort-an-integer-array/BaCon/sort-an-integer-array.bacon
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
' Sort an integer array
|
||||
DECLARE values[5] TYPE NUMBER
|
||||
values[0] = 23
|
||||
values[1] = 32
|
||||
values[2] = 12
|
||||
values[3] = 21
|
||||
values[4] = 01
|
||||
|
||||
SORT values
|
||||
|
||||
FOR i = 0 TO 3
|
||||
PRINT values[i], ", ";
|
||||
NEXT
|
||||
PRINT values[4]
|
||||
Loading…
Add table
Add a link
Reference in a new issue