Bookmark Topic Watch Topic
  • New Topic

Formating issues

 
Clayton Blankinship
Greenhorn
Posts: 14
  • Mark post as helpful
  • send pies
  • Report post to moderator
So this program runs with this data file, I am just wondering if there is anyone that can help me format the output so that it looks clean?

The first three columns are good, but the last does not line up properly. Also any suggestions or pointers on the coding would be much appreciated.

Here is the data if you want to give it a try:

1000 1 1200
1001 2 800
1002 3 300
1003 6 1100
1004 2 -100
1005 3 783
1006 1 1550
1007 5 950
1008 1 750
1009 2 1050
1010 2 600
1011 4 700
1012 3 1200
1013 3 0
0 0 0

Main.java


readflie.java

 
Winston Gutkowski
Bartender
Pie
Posts: 10508
64
Eclipse IDE Hibernate Ubuntu
  • Mark post as helpful
  • send pies
  • Report post to moderator
Clayton Blankinship wrote:So this program runs with this data file...

Clayton,

You don't get better answers by simply opening a new thread on the same subject under a different title.

If you don't like the answers you got there, then explain why.

Locking this thread.

Winston
 
    Bookmark Topic Watch Topic
  • New Topic