Data update
This commit is contained in:
parent
4bb20c9b71
commit
cbaf4c4b64
12390 changed files with 318560 additions and 27248 deletions
18
Task/Sort-an-integer-array/REXX/sort-an-integer-array.rexx
Normal file
18
Task/Sort-an-integer-array/REXX/sort-an-integer-array.rexx
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
-- 31 Mar 2026
|
||||
include Setting
|
||||
|
||||
say 'SORT AN INTEGER ARRAY'
|
||||
say version
|
||||
say
|
||||
-- Generate a demo stem, 100 items, random whole numbers
|
||||
call MakeSt 'stem.','Z',100
|
||||
-- Show original, 5 wide per item
|
||||
call ShowSt 'stem.','random whole numbers',,5
|
||||
-- Sort with (standard) numeric comparator (quicksort)
|
||||
call SortSt 'stem.'
|
||||
-- Show sorted
|
||||
call ShowSt 'stem.','sorted!',,5
|
||||
exit
|
||||
|
||||
-- MakeSt; ShowSt; SortSt
|
||||
include Math
|
||||
Loading…
Add table
Add a link
Reference in a new issue