ex.) Exercise 2.10 on Practice-It wants you to have 9 spaces then | but I cannot seem to get it to be able to repeat itself on the same line.
Have you tried using print instead of println?
System.out.print() prints everything on the same line.