Topic: Matrix Manipulation Problem / Level: beginner

Problem: Write a program to print the matrix in a butterfly pattern.

Run the code to see the output here...