2013-6: Home On The Range
Write a dfn which returns the magnitude of the range (i.e. the difference between the lowest and highest values) of a numeric array.
Examples:
(your_function) 19 ¯3 7.6 22
25
(your_function) 101 ⍝ should work with a scalar argument
0
(your_function) 2 3⍴10 20 30 40 50 60 ⍝ should work with arrays of any number of dimensions
50
(your_function) ⍳0 ⍝ including empty arrays
0
your_function ←
Solutions

