#include #include #include using namespace std; struct DATE { int ng,th,nam; friend bool operator==(DATE &a, DATE &nlx) { return(a.ng==nlx.ng && a.th==nlx.th && a.nam==nlx.nam); } }; class PHIEU { protected: char sp[10]; DATE nl; float tkn,tkc; public: void Nhap() { fflush(stdin); cout<<"Nhap so phieu: ";cin.getline(sp,10); cout<<"Nhap ngay lap: ";cin>>nl.ng>>nl.th>>nl.nam; cout<<"Nhap tai khoan no: ";cin>>tkn; cout<<"Nhap tai khoan co: ";cin>>tkc; } void Xuat() { cout<9)cout<9)cout<>st; } void Xuat() { PHIEU::Xuat(); cout<>st; } void Xuat() { PHIEU::Xuat(); cout<>n; a=new PHIEUXUAT[n]; cout<<"\n\n\tNHAP THONG TIN PHIEU XUAT"; cout<<"\n------------------------------------------\n"; for(i=0;i>n; b=new PHIEUTHU[n]; cout<<"\n\n\tNHAP THONG TIN PHIEU THU"; cout<<"\n------------------------------------------\n"; for(i=0;i