+ 1

Multi-Dimensional array question

In this code: https://code.sololearn.com/c0qD865Ho7RC/#cpp. EDIT( I realize that my array is off the column box should be two but I can not re-save the code) How do I console output all of the ints? Thank you for your help.

3rd Jun 2018, 11:01 AM
Bradley
2 Answers
3rd Jun 2018, 1:28 PM
Tim Thuma
Tim Thuma - avatar
+ 1
for(size_t i = 0; i < 5; ++i) for(size_t j = 0; j < 5; ++j) cout << arr[i][j] << " ";
3rd Jun 2018, 11:09 AM
Disvolviĝo;
Disvolviĝo; - avatar