Help with Hexa conversion
I've been trying to write a program that will accept two numbers from two different number systems (ie: Decimal, Hexa, Octa, or Binary)... Everything works except for the hexadecimal input... I know there's a way to set the output for an answer in hex, but is there any way to input a hexadecimal number from the keyboard, and convert it to decimal to add two numbers of a different base together?
Example: 10(base 10) + 4e2f(base 16) = ??
I really need to know this, anything would help...