RosettaCodeData/Task/Binary-digits/Ceylon/binary-digits.ceylon
2023-07-01 13:44:08 -04:00

9 lines
198 B
Ceylon

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