Re: How do I get this to output 12 strings per line
- From: RedGrittyBrick <RedGrittyBrick@xxxxxxxxxxxxx>
- Date: Mon, 30 Oct 2006 19:41:38 +0000
Louie LaRue wrote:
This is a program that randomizies the strings in the array 20 times
and outputs them in a single line. How do I make it output 12 strings
per line?
for (int i=0; i<result.length; i++)
System.out.print (result[i]);
At this point I'd insert a statement involving i, 12, the modulo function and the println() method.
.
}
}
- References:
- How do I get this to output 12 strings per line
- From: Louie LaRue
- How do I get this to output 12 strings per line
- Prev by Date: Re: How do I get this to output 12 strings per line
- Next by Date: Re: Servlet to JSP problem
- Previous by thread: Re: How do I get this to output 12 strings per line
- Next by thread: Re: How do I get this to output 12 strings per line
- Index(es):
Relevant Pages
|