Matrix

CF

2D MATRIX MODIFICATION

A Matrix has R rows and C columns. Get the matrix as input and multiply the value in the cells of the matrix by a value E if it is even and…
CF

Matrix Traverse Clockwise

A square matrix of size N*N is provided. The program must traverse the matrix spirally and print the elements in a single line. Input…
CF

Matrix – Sum of Edge Elements

The input elements of R*C matrix is passed as the input (R is the number of rows and C is the number of columns in the matrix. The program…