Topic: Matrix Manipulation Problem / Level: beginner

Problem: Write a program to swap the main diagonal and anti-diagonal elements of a square matrix.

Run the code to see the output here...