Maximum difference between adjacent elements of list: Difference between revisions
Content added Content deleted
m (→{{header|REXX}}: elided a duplicated comment.) |
m (→{{header|REXX}}: fixed an HTML opening tag.) |
||
Line 460: | Line 460: | ||
exit 0 /*stick a fork in it, we're all done. */</lang> |
exit 0 /*stick a fork in it, we're all done. */</lang> |
||
{{out|output|text= when using the default input:}} |
{{out|output|text= when using the default input:}} |
||
< |
<pre> |
||
list of elements: 1 8 2 -3 0 1 1 -2.3 0 5.5 8 6 2 9 11 10 3 |
list of elements: 1 8 2 -3 0 1 1 -2.3 0 5.5 8 6 2 9 11 10 3 |
||
number of elements: 17 |
number of elements: 17 |