Hi, I need help writing a C program that inputs an integer containing only 0s and 1s(binary integer) and prints its decimal equivalent. The hint is to use modulus and division operators to pick off the "binary" numbers digits one at a time from right to left. How would I do that? Thanks!
Jay