title: How can i create a numeric pattern that starts from right to left side in java?
body: <p>i need to create a numeric pattern just like i mentioned in the title.
  It should be like;</p>
  <pre><code>    0  0  0  0  1
      0  0  0  2  3
      0  0  4  5  6
      0  7  8  9 10
     11 12 13 14 15
  </code></pre>
  <p>I can do this;</p>
  <pre><code>    int[][] Example =    new int [5][5];      
      
      int c = 1;                              
      for (int satir = 0; satir &lt; Example.length; satir++) { 
          for (int sutun = 0; sutun &lt; Example.length; sutun++) { 
              if (sutun &lt;= satir) {                        
                   if (c &lt; 10) System.out.print(&quot; &quot;);   
                  System.out.print(&quot; &quot; + c++);         
               } else {                               
                  System.out.print(&quot;  &quot; + 0);        
                }
           }
           System.out.println();                     
  }
  
  }
  </code></pre>
  <p>}</p>