symbol

CF

Infinity Symbol Pattern

Given a matrix M of size N*N as input, the program must print the output as shown in the Example Input/Output section. Boundary Condition(s):2…