Having trouble on solving the following tasks

tuxduino:
You've fixed the double index increment issue, but you still pointlessly use two nested for()s just to print the same thing multiple times. And you were the first to recognize you didn't understand why you needed those cycles. Can't you see the indices don't play any role in the code of the inner for() block ?

You either use multiple copy-n-pasted if()s, or you use just one and loop through the table's row. (Hint: you need just one loop).

The indices doesn't do anything on my for loop. Which is why i don't understand why i need a for loop for this task. It would have made more sense if i knew how to use a one loop routine for my for loop.