assign5/mat.cpp
// count number of items in column c not equal to value
count number of items in column c not equal to value
count number of items in column c not equal to value
int Matrix::countNeqCol(int c, double value) const
{
    int count;
    count = 0;
    for (int r=0; r<maxr; r++) {
        if (m[r][c]!=value) count++;
    }
    return count;
}
int Matrix :: countNeqCol ( int c , double value ) const { int count ; count = 0 ; for ( int r = 0 ; r < maxr ; r ++ ) { if ( m [ r ] [ c ] != value ) count ++ ; } return count ; }
count number of items in column c not equal to value
count number of items in column c not equal to value