Re: Need help with loop
- From: Lion-O <nosp@xxxxxxxxxxxxxx>
- Date: Mon, 30 Oct 2006 00:58:31 -0000
why isn't the second part of my triangle not working?
for (int row = 1; row <= nLines; row++)
{
for (int star= 1; star <= row; star++)
System.out.print("*");
System.out.println();
}
Note the missing { ?
--
Groetjes, Peter
..\\ PGP/GPG key: http://www.catslair.org/pubkey.asc
.
- Follow-Ups:
- Re: Need help with loop
- From: Lew
- Re: Need help with loop
- References:
- Need help with loop
- From: meena.desani
- Need help with loop
- Prev by Date: Need help with loop
- Next by Date: Re: Need help with loop
- Previous by thread: Need help with loop
- Next by thread: Re: Need help with loop
- Index(es):