#include #include #include class ts { private: float *a; int n; public: ts(); ~ts(); void nhap(); void xuat(); ts operator=(ts &); float tb(); float max(); friend int soso(ts &a,ts &b); }; ts::ts() { n=0;a=NULL; }; ts::~ts() { n=0;delete a; }; void ts::nhap() { cout>n; a=new float[n]; for(int i=0;i