-1

hexadecimal number, (b) convert the number to a 16-bit binary number, and, (c) display the

16-bit binary number. It should be assumed that (a) the number entered by the user is a valid

unsigned hexadecimal number consisting of at least one hexadecimal digit and at most four

hexadecimal digits, (b) the hexadecimal number is within range [0 .. 0x7FFF], and, (c) the

hexadecimal digits entered by the user come from set {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, A, B, C, D, E,

F}. The example below shows some screenshots of the execution of the program.