package Homeworks;
public class HomeWork85 {
public static void main(String[] args) {
int[][] a = {
{1,1,1,2},
{1,1,1},
{1,1,1}
};
int[][] b = {
{1,1,1,1},
{1,1,1,1},
{1,1,1,1}
};
for (int i=0; i<a.length;i++) {
for (int j=0;j<a[i].length-1;j++) {
if (a.length==a[j].length) {
System.out.println("It is a square");
}else {
System.out.println("Not a square");
}
}
}
}
}