title: Make a reverse number in java
body: <p>guys. I just make a java program that suppose to display like this:</p>
  <pre><code>16 12 8 4 
  15 11 7 3
  14 10 6 2
  13  9 5 1
  </code></pre>
  <p>Here is my current code:</p>
  <pre><code>int rows=4, cols=4;
  for (int i = rows; i &gt;= 1; i--) {
      for (int j = 0; j &lt; cols; j++) {
          int number = i + (j * rows);
          System.out.print(number + &quot;\t&quot;);
      }
      System.out.println();
  }
  
  </code></pre>
  <p>But it just show wrong display:</p>
  <pre><code>4 8 12 16
  3 7 11 15
  2 6 10 14
  1 5  9 13
  </code></pre>
  <p>Can you guys tell me, what's wrong with my code? Thank you</p>