Anonymous user
Maximum difference between adjacent elements of list: Difference between revisions
Maximum difference between adjacent elements of list (view source)
Revision as of 23:05, 18 July 2021
, 2 years ago→{{header|REXX}}: elided a duplicated comment.
m (added a word to the task's preamble ("which").) |
m (→{{header|REXX}}: elided a duplicated comment.) |
||
Line 453:
aa= aa a; bb= bb b /* the elements that had the max diff.*/
end /*j*/
say
say 'The maximum difference of the elements in the list is: ' d
do k=1 for words(aa)
|