Hitachi Rail interview question

write program to tranfere Decimal to Binary number