Recently I started learning two-dimensional arrays and recently I came across these tasks that give you images of a 10 x 10 array and you have to recreate it. I completed some tasks but one task gave me a problem. Seems like I am really close but at the same time not. I have tried for some time now but I can't get the needed answer.

```
  public static void main(String[] args) {

    int A[][] = new int [10][10];

    for (int i = 0;  i <= 9; i++) {
      for (int j=9-i, n=1; j>=1; j--) {
        if (j <= 9) {
          A[i][j] = n++;
        }
      }
    }

    for (int i=0; i<10; i++) {
      for (int j=0; j<10; j++) {
        System.out.print(A[i][j]+"\t");
      }
      System.out.println();
    }
  }
} 

```

Thanks for helping!