elements

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…