1234

Solution-11

public class Solution11 {

public static void main(String[] args) {
for(int i=0;i<=5;i++)
{
for(int j=0;j<=5;j++)
{
if(i==2||i==3||j==2||j==3)
System.out.print("0");
else
System.out.print("1");
}
System.out.println("");
}

}

}

No comments:

Post a Comment