Topic: Matrix Manipulation Problem / Level: beginner

Problem: Write a program to print the sum of all diagonal elements that are palindromes.

Run the code to see the output here...