RosettaCodeData/Task/Count-in-octal/Crystal/count-in-octal.cr
2024-10-16 18:07:41 -07:00

4 lines
108 B
Crystal

# version 0.21.1
# using unsigned 8 bit integer, range 0 to 255
(0_u8..255_u8).each { |i| puts i.to_s(8) }