Hello. I need to reproduce this pattern using one main for loop and one nested for loop. I cannot seem to figure out the right way to do this. I came close, but not close enough.
0
10
210
3210
43210
543210
6543210
76543210
876543210
9876543210
for (int x = 0; x < 10; x++)
{
for (int y = 0; y < x; y++)
{
System.out.print(y);
}
System.out.println();
}