RosettaCodeData/Task/Binary-digits/Ceylon/binary-digits.ceylon
2018-06-22 20:57:24 +00:00

9 lines
198 B
Ceylon

shared void run() {
void printBinary(Integer integer) =>
print(Integer.format(integer, 2));
printBinary(5);
printBinary(50);
printBinary(9k);
}