class twodArray { protected: int rows, columns; int * data; public: twodArray(int rs, int cs); int getRows(); int getColumns(); int get(int r, int c); void set(int r, int c, int value); void setrow(int r, int * values); void print(); }; twodArray add(twodArray A, twodArray B); twodArray mul(twodArray A, twodArray B);