Search:

Type: Posts; User: Dingles

Search: Search took 0.12 seconds.

  1. Re: Spaces at the start of every other line in a for loop

    Thanks for the replies everyone. I'd like to point out that Junky is correct! I made a typing error with the 5x5 output of A's. If the user enters 4 it will output 4x4.
  2. Spaces at the start of every other line in a for loop

    I'm attempting to get spaces at the beginning of every other line of the output of this program:

    import java.util.Scanner;
    public class Checkerboard
    {
    public static void main(String[] args)...
Results 1 to 2 of 2