Give the output of the following snippets based on nested loops:
int I,j;
for (i=0; i<4; i++ )
{
for (j=I; j>=0; j--)
System.out.print(j);
System.out.println();
}
Answers
Answered by
0
Answer:
The output for the program is:
0
0
0
0
Similar questions