Knuth's algorithm S: Difference between revisions

Content added Content deleted
m (→‎{{header|REXX}}: changed comments and whitespace, used a simpler DO loop index, changed header/title width.)
m (→‎{{header|REXX}}: simplified a SAY instruction.)
Line 1,516:
 
do dig=0 to 9 /* [↓] display the frequency of a dig.*/
say leftright('', 20) "frequency of the", 37) dig 'digit is: ' commas(#.dig)
end /*dig*/
exit /*stick a fork in it, we're all done. */