Input/Output: : Checkers Board

 

Write a program Checkerboard_YI.java that takes one command-line argument N and prints out a two dimensional N-by-N checkerboard pattern with alternating spaces and asterisks, like the following 4-by-4 pattern.

checkerboard