#include<stdio.h>
#include<stdlib.h>
#include<conio.h>
int main()
{char x,y,ch='y';
while(ch=='y')
{
{printf("Please input two character:\n");
scanf("%c %c",&x,&y);
while((ch=getchar())!='\n');
if((x-y)%2==0)
{ if(x>=y)
printf("后继:%c\n",x+1);
else
printf("后继:%c\n",y+1);
}
else if(x>=y)
printf("前趋:%c\n",y-1);
else
printf("前趋:%c\n",x-1);
}
printf("是否继续:\'y\'/\'n\'");
ch=getche();
}
if(ch=getchar()=='n')
return 0;
}