char ch; scanf(" %c",&ch); printf("%c %c\n",(char)(ch-1),(char)(ch+1)); printf("%d %d\n",(ch-1),(ch+1));
#include int main(void){ char a; a=getchar(); printf("%c:%d\n%c:%d\n%c:%d\n",a-1,a-1,a,a,a+1,a+1); return 0;}