#include #include #include #include class matrix; class vect { private: float b[50]; int n; public: void xuat(); vect tonghang(matrix&); void sapxep(); }; class matrix { private: int m; int n; float a[50][50]; public: void nhap(); void xuat(); float tong(); float max(); friend vect vect::tonghang(matrix &); }; void matrix::nhap() { coutm; coutn; for(int i=0;i