Build a program that allows a user to choose a number type (binary, octal, hexadecimal, decimal), enter that number, and the program will reveal the equivalent number in all of the other number types. Make sure to have the program check to see that the user's number is valid in that number type.