title: Transforming int to char with input (edited)
body: <p>My program should transform a letter to the letter which is 2 letter away from it. Like a to c, b to d.
  And i can only use first 10 letters in english alphabet. ('i' will go to 'a' and 'j' will go to 'b' cuz i can only use 10 letters. </p>
  
  <pre><code> import java.util.Scanner;
      public class part6 {
      public static void main(String[] args) {
      Scanner keyboard=new Scanner(System.in);
  
      System.out.println("Please enter a 4 letter word only uses the first 10 letter on english alphabet(a,b,c,d,e,f,g,h,i,j):  ");
  
      Scanner keyboard=new Scanner(System.in);
      String s1 = keyboard.next();
      String s2 = "z1";
      s2=s1.toLowerCase();
  
  if (s1.length() !=4)
  System.out.println("please enter a word with 4 letters");
  
  char c1= s2.charAt(0);
  char c2= s2.charAt(1);
  char c3= s2.charAt(2);
  char c4= s2.charAt(3);
  
  int i1 =(int) c1;
  int i2= (int) c2;
  int i3= (int) c3;
  int i4= (int) c4;
  
  if(i1&gt;96 &amp;&amp; i1&lt;107) // a = 97 , j = 106
  System.out.println(s2);
  else if (i2&gt;96 &amp;&amp; i2&lt;107)
  System.out.println(s2);
  else if (i3&gt;96 &amp;&amp; i3&lt;107)
  System.out.println(s2);
  else if (i4&gt;96 &amp;&amp; i4&lt;107)
  System.out.println(s2);
  else 
  System.out.println("wrong character using!");
  }
  }
  </code></pre>
  
  <p>So the new problem is the uhm even if i enter abcy or aaaq , i get abcy and aaaq.
  the int does not work. What should i do ?</p>