I have a capital letter defined in a variable string, and I want to output the next and previous letters in the alphabet. For example, if the variable was equal to \'C\'>
\'C\'>
just like this :
System.out.printf("%c\n",letter); letter++;