Evolution interview question

Write a function which converts decimal number to binary in displays the result