How to do x with spaces | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

How to do x with spaces

I want to know how to do something that looks like the following in Java: X X X X X X X X X. X X. X

13th Sep 2018, 10:50 AM
curtis
curtis  - avatar
2 Answers
+ 1
Please specify the language that you are attempting to achieve this with, and also whatever reason directly printing those spaces wouldn't work. I'm guessing HTML where extra whitespaces are ignored?
13th Sep 2018, 10:51 AM
Hatsy Rei
Hatsy Rei - avatar
0
java
13th Sep 2018, 11:25 AM
curtis
curtis  - avatar