edge

CF

Pattern – Asterisk Edge

Given a positive integer value N as input, print the pattern as in the Example Input/Output section. The outer edges must be represented by…
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…