Cognizant Interview Question

Stack Write program to convert a number decimal to binary