Xero Interview Question

Q1: Convert a decimal number into binary, and print it as a string.