You are viewing a single comment's thread. Return to all comments →
you could just set i , j from 1 to 5 for (int i = 1; i< 5; i++)
then you just use arr[i][j], i, j could be +1 or -1 this will much easier to understand
Day 11: 2D Arrays
You are viewing a single comment's thread. Return to all comments →
you could just set i , j from 1 to 5 for (int i = 1; i< 5; i++)
then you just use arr[i][j], i, j could be +1 or -1 this will much easier to understand