Program for Hexadecimal to Decimal
Given a hexadecimal number as input, we need to write a program to convert the given hexadecimal number into an equivalent decimal number. Examples: Input : 67Output: 103Input : 512Output: 1298Input : 123Output: 291We know that hexadecimal number uses 16 symbols {0, 1, 2, 4, 5, 6, 7, 8, 9, A, B, C