C program to check whether a matrix is a sparse matrix or not.

 

Sample Input
Enter the order of the matix :3 3
Enter the co-efficients of the matix
1 2 3
0 0 0
0 0 0
Sample Output
The given matrix is sparse matrix
There are 6 number of zeros

You may also like...