Problem
Write a program that asks user to enter a hexadecimal number. See scanf documentation for information how to read a hexadecimal number. When user has entered the number program prints it with 8 hexadecimal digits and leading zeros. Then program asks user to enter an integer in the range from 0 to 31. Program then places the integer in the first number on bit positions 6-10 of the first number without modifying the other bits and prints the result in hexadecimal with leading zeros. Hint: You need to clear bits 6-10 from the number before placing the other number in that position. Note: bit numbering starts from 0.