@@ -0,0 +1,889 @@
+import java.util.*;%0Aimport java.lang.*;%0Aimport java.io.*;%0A%0Aclass AntiDiagonal %0A%7B%0A%09public static void main (String%5B%5D args) %0A%09%7B%0A%09%09Scanner sc = new Scanner(System.in);%0A%0A%09%09    int size = sc.nextInt();%0A%09%09    int arr%5B%5D%5B%5D = new int%5Bsize%5D%5Bsize%5D;%0A%09%09    %0A%09%09    for(int i=0;i%3Csize;i++)%0A%09%09    %7B%0A%09%09        for(int j=0;j%3Csize;j++)%0A%09%09        %7B%0A%09%09            arr%5Bi%5D%5Bj%5D=sc.nextInt();%0A%09%09        %7D%0A%09%09    %7D%0A%09%09    %0A%09%09    for(int i=0;i%3Csize;i++)%0A%09%09    %7B%0A%09%09        int k=i;%0A%09%09        int j=0;%0A%09%09        while(k%3E=0)%0A%09%09        %7B%0A%09%09            System.out.print(arr%5Bj%5D%5Bk%5D+%22 %22);%0A%09%09            k-=1;%0A%09%09            j+=1;%0A%09%09        %7D%0A%09%09    %7D%0A%09%09    %0A%09%09    for(int i=1;i%3Csize;i++)%0A%09%09    %7B%0A%09%09        int k=i;%0A%09%09        int j=size-1;%0A%09%09        while(k%3C=size-1)%0A%09%09        %7B%0A%09%09            System.out.print(arr%5Bk%5D%5Bj%5D+%22 %22);%0A%09%09            k+=1;%0A%09%09            j-=1;%0A%09%09        %7D%0A%09%09        %0A%09%09    %7D%0A%09%09    System.out.println();%0A%09%7D%0A%7D%0A

Print Antidiagonally