Maximum difference between adjacent elements of list: Difference between revisions

Content added Content deleted
No edit summary
No edit summary
Line 2: Line 2:


;Task:Find maximum difference between adjacent elements of list.
;Task:Find maximum difference between adjacent elements of list.
<br>
The list may have a negative value, a zero value, a real number.
<br>
<br>
List = [2, -3 ,0, 1, 1, -2.3, 0, 5.5, 8, 6, 2, 9, 11, 8, 1]
List = [2, -3 ,0, 1, 1, -2.3, 0, 5.5, 8, 6, 2, 9, 11, 8, 1]