Averages/Median: Difference between revisions
Content added Content deleted
Thundergnat (talk | contribs) m (→{{header|Vala}}: Regularize non-standard header markup) |
Drkameleon (talk | contribs) (added Arturo) |
||
Line 469: | Line 469: | ||
L = 11 : GOSUB 100MEDIAN |
L = 11 : GOSUB 100MEDIAN |
||
? R</lang>Output:<pre>5.95</pre> |
? R</lang>Output:<pre>5.95</pre> |
||
=={{header|Arturo}}== |
|||
<lang rebol>arr: [1 2 3 4 5 6 7] |
|||
arr2: [1 2 3 4 5 6] |
|||
print median arr |
|||
print median arr2</lang> |
|||
{{out}} |
|||
<pre>4 |
|||
3.5</pre> |
|||
=={{header|AutoHotkey}}== |
=={{header|AutoHotkey}}== |