Write A Program That Will Prompt The User To Enter A Hex Digit Character 0 9 Or (1)

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

Leave a Reply

Your email address will not be published. Required fields are marked *