Welcome to the CSC Q&A.
Get help and give help!
Write great code!
It is our choices... that show what we truly are, far more than our abilities.

Categories

+11 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 (280 points)

2 Answers

+6 votes

Have you tried using print instead of println?

answered by (4.5k points)
–1 vote

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

answered ago by (2.6k points)
...