Bin given limits: Difference between revisions
→{{header|J}}: fix verb defn
Thundergnat (talk | contribs) m (Automated syntax highlighting fixup (second round - minor fixes)) |
(→{{header|J}}: fix verb defn) |
||
Line 1,236:
require 'format/printf'
printBinCounts=:
counts =. y
'%2d in [ -∞, %3d)' printf ({. counts) , {. x
Line 1,281:
16 in [634, 720)
59 in [720, ∞]</syntaxhighlight>
=={{header|Java}}==
<syntaxhighlight lang="java">import java.util.Arrays;
|