#C10375. Number to Letter Converter
Number to Letter Converter
Number to Letter Converter
In this problem, you are given an integer (n) as input. Your task is to convert this integer into the corresponding lowercase English letter. The conversion is defined only for integers between 1 and 26 (inclusive). Specifically, if (n) is between 1 and 26, the output should be the letter whose ASCII code is (96+n) (i.e. 'a' corresponds to 1, 'b' to 2, etc.). If (n) is not within this range, output the error message: "Invalid input, please enter a number between 1 and 26".
For example, when (n=1), the output should be 'a'. When (n=27), the output should be the error message.
inputFormat
The input consists of a single integer (n) provided via standard input.
outputFormat
Output the corresponding lowercase English letter if (n) is between 1 and 26 (inclusive). Otherwise, output the error message "Invalid input, please enter a number between 1 and 26". The output should be printed to standard output.## sample
1
a