1. Write a program that converts a binary number to decimal one.
2. Write a program that converts a decimal number to hexadecimal one.
3. Write a program that converts a hexadecimal number to decimal one.
4. Write a program that converts a hexadecimal number to binary one.