title: Skipping letters not working when typing letter z
body: <p>I am having problem when a user types in a letter, then typing how many numbers to be skipped. For example user types in letter abc, then type 2 numbers to be skipped the output is cdf, In my program this is working fine. However when a user types in xyz, then types in number 4. my program doesnt work. Also, all letter having z will not display the output. For example xyz, then number to be skipped is 1 the output will be yz only.</p>
  
  <pre><code>public class Test2 {
  
  private Scanner sc = new Scanner(System.in); 
  private char characters[]=     {'a','b','c','d','e','f','g','h','i','j','k','l','m',
          'n','o','p','q','r','s','t','u','v','w','x','y','z'};
  </code></pre>
  
  <p>}</p>