what is wrong with my code------
import java.util.*;
public class Main {
public static void main(String args[]) {
Scanner cin = new Scanner(System.in);
int m = cin.nextInt(),n = cin.nextInt() ,arr[][] = new int[m][n],status = 0;
for(int i = 0; i < arr.length; i++){
for(int j = 0; j<arr[i].length;j++){
arr[i][j] = cin.nextInt();
}
}
for(int i = 0; i < arr.length; i++){
if(status==1){
for(int j = arr[i].length - 1; j>-1;j–){
if(i==m-1&& j==n-1){
System.out.print(+arr[i][j]+","+" “+“END”);
}else{
System.out.print(+arr[i][j]+”,"+" “);
}
}
status =0;
}else{
for(int j = 0; j<arr[i].length;j++){
if(i==m-1&& j==n-1){
System.out.print(+arr[i][j]+”,"+" “+“END”);
}else{
System.out.print(+arr[i][j]+”,"+" ");
}
}
status = 1;
}
}
cin.close();
}
}