More Problems On Nested Loops 1st Feb
More Problems On Nested Loops 1st Feb
int i,j;
for (i=0; i<4; i++)
{
for (j=i; j>=0; j--)
System.out.print(j);
System.out.println();
}
99999
77777
55555
33333
11111
97531
9753
975
97
9
2
24
246
2468
2 4 6 10
*
* #
* # *
* # * #
* # * # *