Welcome to the CSC Q&A, on our server named in honor of Ada Lovelace. Write great code! Get help and give help!
It is our choices... that show what we truly are, far more than our abilities.

Categories

+18 votes

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.

asked in CSC211_Winter2018 by (1 point)

2 Answers

+10 votes

Have you tried using print instead of println?

answered by (3.5k points)
+3 votes

System.out.print() prints everything on the same line.

answered by (-499 points)
...