cexercise 1.45 write a program in your favorite language (e.g., c, java, perl) to convert numbers from binary to decimal. the user should type in an unsigned binary number. the program should print the decimal equivalent. exercise 1.46 repeat exercise 1.45 but convert from decimal to hexadecimal.