Hello, all. I can able to solve how to convert a decimal to a binary number. But, If you ask me to convert binary number to decimal, I will just say I don't know how to do it. Is there any way of solving this question without using built-in functions?

Thanks in advance.

Thanks in advance.