Topic: Matrix Manipulation Problem / Level: beginner

Problem: Write a program to calculate the sum of all diagonal elements that are multiples of 3.

Run the code to see the output here...