title: Adding two character arrays and storing the result as characters in another char array in Java
body: <p>I want to add two character arrays and store the result as characters in another character array. 
  The addition involves addition of two english letters from the two arrays as operands.
  The addition will wrap around z back to a .</p>
  
  <p>eg.
  Input:Array1 and Array 2 and output is Array 3</p>
  
  <p>Array 1 :abcdeyz</p>
  
  <p>Array 2 :aaaaaaa</p>
  
  <p>Array 3 :bcdefza</p>
  
  <p>Below is a part of my code which is not working.
  Kindly suggest any changes</p>
  
  <pre><code>    int c = 0;
  
      char array3[] = new char[count] ;    
  
  for(int a=0;a&lt;array1.length;a++)
      {
          for(int b=0;b&lt;array2.length;b++)
          {
              int temp = (array1[a] + array2[b]) % 26 ;
              array3[c] = (char) temp ; 
              c++ ;
          }
      }
  </code></pre>