LTIMindtree interview question

convert decimal to binary program in whichever language i prefer