Psst.. new poll here.
Psst.. new forums here.
Microsoft is blocking us again (TY IP Reputation!) so just use oauth login instead. :)
Paste
Pasted as Java by paigethorn ( 5 years ago )
/**
* This programs presents a checker grid 100 x 100
*
* @paigethorn
* 4/12/21
*/
public class CheckersGrid
{
public static void main(String[] args)
{
for(int row = 0; row < 100; row++)
{
for(int col = 0; col < 100; col++)
if((col + row) % 2 == 0)
{
System.out.print("@");
}
else
{
System.out.print("#");
}
System.out.println();
}
}
}
Revise this Paste