SPAR Solutions interview question

Program to convert decimal to binary.