Infosys interview question

program to convert decimal to binary?