0
Remove row a and column b from the two-dimensional matrix.C++
There is a two-dimensional matrix a[i][j], provided that the number of elements is given directly in the code.For example: i=1,2...n and j=1,2...m. I need to delete any row and any column in this matrix and then display the modified matrix.Please help!
1 Réponse
+ 1
store which row and column you want to delete, while printing the original matrix check if it's row/ column matches that of stored row and column - if it does don't print the number. And repeat the same.