Maximum difference between adjacent elements of list: Difference between revisions
Maximum difference between adjacent elements of list (view source)
Revision as of 13:52, 18 July 2021
, 2 years ago→{{header|Ring}}
(Added XPL0 example.) |
|||
Line 17:
see "Output:" + nl
sList = [2,-3,0,1,1,-2.3,0,5.5,8,6,2,9,11,8,1]
sortList = []
for n = 1 to len(sList)-1
|