 <p>You are using <code>System.out.println("X");</code> This automatically appends a newline character to the end of the string.</p> <p>Instead use <code>System.out.print("X");</code> to print the X's next to each other.</p>