Topic: Matrix Manipulation Problem / Level: beginner

Problem: Write a program to print all diagonal elements in a square matrix that are divisible by both 3 and 7.

Run the code to see the output here...