Anonymous user
Letter frequency: Difference between revisions
m
→{{header|Smalltalk}}
Line 5,576:
16->d
...</pre>
If you prefer seeing the character first, followed by the count, replace the do-loop's action with:
<lang smalltalk>... do:[:assoc | '%s -> %s\n' printf:{assoc value . assoc key} on:Stdout ].</lang>
{{out}}
|