//for sparse matrix #include#include #define max 50 void main() { clrscr(); int i,j,z[max][3],n; cout<<"Enter the number of non-zero element in the matrix:"; cin>>n; cout<<"\nEnter the roww first then the col & the value at last...\n"; for(i=0;i >z[i][j]; } } cout<<"The sparse matrix is...\n"; for(i=0;i     Source: geocities.com/cplusplussurvivalkit