C program to convert binary to decimal

C program to convert binary to decimal


Input:

Enter the binary:
1111

Output:

The decimal of given binary 1111 is 15

Implementation: