class Win{
public static void main(String[]args){
for(int row=1;row<=5;row++){
for(int col=1;col<=5;col++){
if((row==1||row==9)&&(data==5)){
System.out.print("1");
}
else if((row=2||row==8)&&(data==4)||(data==6)){
System.out.print("2");
}
else{
System.out.print(" ");
}
System.out.println();
}
}
}
}
Be the first to comment
You can use [html][/html], [css][/css], [php][/php] and more to embed the code. Urls are automatically hyperlinked. Line breaks and paragraphs are automatically generated.