If any code related matrix | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
- 3

If any code related matrix

display elements in vertical & diagonal form

3rd May 2019, 10:39 AM
Venu Gopal
Venu Gopal - avatar
1 Answer
0
Ok,Here's the pseudo code. for i in 0...Rows { for j in 0...Cols { std::cout<<matrix[i][j]<<" "; } std::cout<<std::endl; }
3rd May 2019, 12:12 PM
Mensch
Mensch - avatar