GeeCON Prague 2014*
The moose likes Java in General and the fly likes Help with these two loops Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Java » Java in General
Bookmark "Help with these two loops" Watch "Help with these two loops" New topic
Author

Help with these two loops

nicky sajdok
Greenhorn

Joined: Jan 22, 2003
Posts: 14
Hi I hope someone can help me?
I have these two loops, which at the moment prints out like this
addr1, id, phone, lastname, firstname
town, addr2, postcode, county, country
[7,4,2,1,0]
[9,8,6,5,3]
the first two lines is what vector vv2 holds inside it.
the second two line is what vector vv holds inside it.
my problem is how can i get it to printout like this?
[7,4,2,1,0]
addr1, id, phone, lastname, firstname
[9,8,6,5,3]
town, addr2, postcode, county, country
I hope someone can help me thanks
nicky

[ February 03, 2003: Message edited by: nicky sajdok ]
William Barnes
Ranch Hand

Joined: Mar 16, 2001
Posts: 986

Assuming both arrays/vectors are the same size, something like this?


Please ignore post, I have no idea what I am talking about.
 
GeeCON Prague 2014
 
subject: Help with these two loops