**Category: Arrays 2d**

- Write a program to print the sum of all the elements of a 3x3 matrix.
- Write a program to display the sum of even and odd elements in a n x n matrix.
- Write a program to display the sum of prime elements in a n x n matrix.
- Write a program to display the sum of perfect elements in a n x n matrix.
- Write a program to display the sum of palindrome elements in a n x n matrix.
- Write a program to display the number of non-zero elements in a n x n matrix.
- Write a program to display the number of positive and negative elements in a n x n matrix.
- Write a program to display the sum/difference of two n x n matrices.
- Write a program to display the product of a m x n and a p x q matrix.
- Write a program to print the sum of each row and each column of a m x n matrix.