Problem:
Score : 100 points

Problem Statement

Given is a lowercase English letter C that is not z. Print the letter that follows C in alphabetical order.

Constraints

C is a lowercase English letter that is not z.

Input

Input is given from Standard Input in the following format:

C

Output

Print the letter that follows C in alphabetical order.

Sample Input 1

a

Sample Output 1

b

a is followed by b.

Sample Input 2

y

Sample Output 2

z

y is followed by z.

Solution in C (GCC 5.4.1) (judge verdict: Accepted)

#include<stdio.h>
int main(void){
  char c;
  scanf("%c",&c);
  if(c=='a'){
    printf("b\n");
  }
  if(c=='b'){
    printf("c\n");
  }
  if(c=='c'){
    printf("d\n");
  }
  if(c=='d'){
    printf("e\n");
  }
  if(c=='e'){
    printf("f\n");
  }
  if(c=='f'){
    printf("g\n");
  }
  if(c=='g'){
    printf("h\n");
  }
  if(c=='h'){
    printf("i\n");
  }
  if(c=='i'){
    printf("j\n");
  }
  if(c=='j'){
    printf("k\n");
  }
  if(c=='k'){
    printf("l\n");
  }
  if(c=='l'){
    printf("m\n");
  }
  if(c=='m'){
    printf("n\n");
  }
  if(c=='n'){
    printf("o\n");
  }
  if(c=='o'){
    printf("p\n");
  }
  if(c=='p'){
    printf("q\n");
  }
  if(c=='q'){
    printf("r\n");
  }
  if(c=='r'){
    printf("s\n");
  }
  if(c=='s'){
    printf("t\n");
  }
  if(c=='t'){
    printf("u\n");
  }
  if(c=='u'){
    printf("v\n");
  }
  if(c=='v'){
    printf("w\n");
  }
  if(c=='w'){
    printf("x\n");
  }
  if(c=='x'){
    printf("y\n");
  }
  if(c=='y'){
    printf("z\n");
  }

  /* s[1]='b';
  s[2]='c';
  s[3]='d';
  s[4]='e';
  s[5]='f';
  s[6]='g';
  s[7]='h';
  s[8]='i';
  s[9]='j';
  s[10]='k';
  s[11]='l';
  s[12]='m';
  s[13]='n';
  s[14]='o';
  s[15]='p';
  s[16]='q';
  s[17]='r';
  s[18]='s';
  s[19]='t';
  s[20]='u';
  s[21]='v';
  s[22]='w';
  s[23]='x';
  s[24]='y';
  s[25]='z';
    for(i=0;i<25;i++){
      if(c==s[i]){
	printf("%c\n",s[i+1]);
	break;
      }
      }*/
  return 0;
}