#include <stdio.h>
int main ()
{
char alpha;
printf("Please enter a to j alphabets\n");
scanf("%c",&alpha);
if(alpha>=97 && alpha<=106)
printf("%c",alpha+4);
else
printf("Invalid Input");
getch();
return 0 ;
}
Output:
Please enter a to j alphabets
d
h