RosettaCodeData/Task/Character-codes/00DESCRIPTION

10 lines
383 B
Text
Raw Permalink Normal View History

2016-12-05 22:15:40 +01:00
;Task:
Given a character value in your language, print its code   (could be ASCII code, Unicode code, or whatever your language uses).
2015-02-20 00:35:01 -05:00
2016-12-05 22:15:40 +01:00
;Example:
The character   'a'   (lowercase letter A)   has a code of 97 in ASCII   (as well as Unicode, as ASCII forms the beginning of Unicode).
2015-02-20 00:35:01 -05:00
Conversely, given a code, print out the corresponding character.
2016-12-05 22:15:40 +01:00
<br><br>