Answer:
1
2 1
3 2 1
4 3 2 1
5 4 3 2 1
6 5 4 3 2 1
Explanation:
I do not now know which option it corresponds but the shape should look like above.
The logic is following;
There is a nested for loop. The inner loop prints the value of j, when j is smaller than or equal to i. Otherwise, it prints a space.
For example, in the first iteration i = 1 and j starts from 6.
i = 1, j = 6 -> print space
i = 1, j = 5 -> print space
i = 1, j = 4 -> print space
i = 1, j = 3 -> print space
i = 1, j = 2 -> print space
<u>i = 1, j = 1 -> print j</u>