I am trying to understand the out come of the following problem:
I understand the concept of j = 1 and i = 1 and how the output will be the following:
2,
3,3,
4,4,4,
what I don't understand is if I change j = 0 and leave i = 0 the result is the following:
1,
2,2,
3,3,3,
4,4,4,4,
can someone please explain why this occurs?
Thank you in advance,