Problems
easyASCII Value of a Character
2 Koda Coins

ASCII Value of a Character

easy2s limit💾 64 MB

Description

Given a character, print its ASCII value.


Input Format

  • A single character C.

  • Output Format

  • Print the integer ASCII value of C.

  • Constraints

  • C is any valid printable ASCII character.

  • Examples

    Example 1:

    Input:

    C = 'A'

    Output:

    65

    Explanation:

    The ASCII encoding of the character 'A' is 65.