How to declare and store value in 2D array? [closed]

You may set the values of j and k to be “i-dependent” but they are not updating their value, you should add a j++,k++ next to the i++

Leave a Comment