Answer:
<em>The program written in Python programming language is as follows;</em>
<em>Comments are not used because the code is self explanatory; However, see explanation section for line by line explanation</em>
char = input("Enter a character: ")
print("The Unicode for the character " + char[0] + " is", ord(char[0]))
Explanation:
<em>Line 1 of the program prompts the user for an input of a character</em>
char = input("Enter a character: ")
<em>The next line prints the Unicode equivalent of the input text. However, if the input length is more than 1, the program will only consider the first character and discard the rest</em>
print("The Unicode for the character " + char[0] + " is", ord(char[0]))