Given a binary number as input, we need to write a program to convert the given binary number into an equivalent decimal number.
Examples :
Input : 111
Output : 7
Input : 1010
Output : 10
Input: 100001
Output: 33
Binary to Decimal Conversion: https://www.geeksforgeeks.org/program-binary-decimal-conversion/