Coder's Guild Mailing List

format output of an array

Posted by Huy Nguyen on 2000-08-31

for(int j = remainder.length -1; j >= 0; j--)
{
    System.out.println(remainder[j]);

}

this statement tells it to print the content of the "remainder" array. 
However, it prints out each number in different row. For example, if the 
content of the array are 3, 5, 7, then the print out would be:
3
5
7

However, i want the array to be printed in the same row, that is 357. How 
would I do that? Please help! (The above code is in java)

_________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.

Share information about yourself, create your own public profile at 
http://profiles.msn.com.