September 2017 Update
This commit is contained in:
parent
bba7bfd280
commit
ba8067c3b7
14570 changed files with 153136 additions and 63871 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