+ 1

How can I get my outputs properly alligned?

I am currently working on a side project. So far, I have made as much progress as I expected. However, I cannot make the outputs formatted as I desire. This is how the desired output looks like. https://code.sololearn.com/cceA0na9WSew/#java. And this is the output my code generates. https://code.sololearn.com/cSVDoFDaLges/#java(You should run the code on computer).

24th Nov 2019, 3:26 AM
Khai123
Khai123 - avatar
1 Resposta
+ 2
Can you explain the numbers you get and why is there a column of names in between numbers. I'm asking this because your alignment is not very clear.
24th Nov 2019, 5:27 AM
Avinesh
Avinesh - avatar