Write a program that will prompt the user to enter a hex digit character ("0" ..."9" or "A" .."F") ,display it on the next line in decimal, and ask the user if he or she wants to do it again. If the user types "y" or "Y" ,the program repeats; if the user types anything else ,the program terminates. If the user enters an illegal character, prompt the user to try again.