This week's book giveaway is in the OCAJP 8 forum.
We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line!
See this thread for details.
The moose likes Cattle Drive and the fly likes where to place line break??? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of OCA Java SE 8 Programmer I Study Guide this week in the OCAJP 8 forum!
JavaRanch » Java Forums » This Site » Cattle Drive
Bookmark "where to place line break???" Watch "where to place line break???" New topic

where to place line break???

Nath Maniedeo

Joined: Feb 15, 2008
Posts: 29
Hi, I'm trying to do what the teacher said and only use one 'for loop' and then place a line break after I print namesPerLine, but it only comes out with a straight line, and not formated like the picture...I don't think this is what's wanted...any advice??
Here is my code for assignment 1b:

Sorry, no code allowed in this forum..
[ March 17, 2008: Message edited by: Marilyn de Queiroz ]
Marilyn de Queiroz

Joined: Jul 22, 2000
Posts: 9056
I put my advice in
your other thread.

"Yesterday is history, tomorrow is a mystery, and today is a gift; that's why they call it the present." Eleanor Roosevelt
I agree. Here's the link:
subject: where to place line break???
jQuery in Action, 3rd edition