+ 2
Codes only
In as few lines as possible All of, using your preferred languages, write a code that asks for user input (Numbers only 0-26) ,and then convert the numbers into Alphabets Having done this, write a full sentence with those Numbers GOOD LUCK CODERS đđ đBrains let's see how you handle this one
2 Answers
+ 1
@Jeremy
I meant create the code itself and then post it
0
int n = new Scanner(System.in).nextInt();
if(n > 26) n = 26;
else if(n <1) n = 1;
System.out.println((char)('A'+n-1));