title: Replacing integers to string
body: <p>I am trying to print some alphabets here, I am new to java and can't figure out where to add the alphabets in pattern.</p>
  <pre><code>package prints;
  
  public class Pattern {
    public static void main(String[] args) {
  
      int rows = 6;
      int[] diff = {0,1,3,5,7,9,11};
      int blank = 0;
      int b = 0;
      int temp;
      
      for(int i = rows; i &gt;= 1; --i){
          
          blank = diff[b++];
  
          if(blank == 0)
              temp = i-1;
          else
              temp = i;
  
          for(int j = 1; j &lt;= i; j++){
              
              System.out.print(&quot; &quot;+ j + &quot; &quot;);
          }
      
          for(int s = 0; s &lt; blank; s++){
              System.out.print(&quot;   &quot;);
          }
          
          for(int k = temp; k &gt;= 1; --k){
              System.out.print(&quot; &quot; + k + &quot; &quot;);
          }
          System.out.println();            
      }
    }
  }
  </code></pre>
  <p>this is the code. trouble in switching languages.</p>