Write a program that prompts the user to enter an integer between 0 and 15 and displays

Question:

Write a program that prompts the user to enter an integer between 0 and 15 and displays its corresponding hex number. Here are some sample runs:

image

Fantastic news! We've Found the answer you've been seeking!

Step by Step Answer:

Question Posted: