Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public class HelloWorld{
- public static void main(String []args){
- for (int i = 0; i < 5; i++)
- {
- for (int j = 0; j < 5; j++)
- System.out.print((i+j)%2);
- System.out.println("");
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement