Topic: Matrix Manipulation Problem / Level: advanced

Problem: Write a program to check if a matrix is a block diagonal matrix and compute its determinant.

Run the code to see the output here...