Computing.Net > Forums > Programming > problem with Spacing

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

problem with Spacing

Reply to Message Icon

Name: droeph
Date: September 24, 2009 at 08:19:49 Pacific
OS: Windows XP
Subcategory: Java
Comment:

I have written a program that displays four columns, column 1 is the odd kilograms, column 2 is the pound equivalent of column 1. Column 3 is pounds divisable by 5 and column 4 is the kilogram eqivalent. I am having problems with the spacing of the columns.



Sponsored Link
Ads by Google

Response Number 1
Name: klint
Date: September 24, 2009 at 14:43:15 Pacific
Reply:

Try using the printf() method.


1

Response Number 2
Name: droeph
Date: September 24, 2009 at 15:21:19 Pacific
Reply:

That helped thanks.


0

Sponsored Link
Ads by Google
Reply to Message Icon

Related Posts

See More






Use following form to reply to current message:

Login or Register to Reply
LoginRegister


Sponsored links

Ads by Google


Results for: problem with Spacing

Problems with binary www.computing.net/answers/programming/problems-with-binary/8453.html

Compare two text files with spaces www.computing.net/answers/programming/compare-two-text-files-with-spaces/19886.html

Problem with Java Mail www.computing.net/answers/programming/problem-with-java-mail/12388.html