class sinhvien { private: char masv[10],ho_ten[20],lop[10]; float diemhk; public: void nhap(); void xuat(); }; void sinhvien::nhap() { cout<<"Nhap masv:";cin.getline(masv,10); cout<<"Nhap ho va ten:";cin.getline(ho_ten,20); cout<<"Nhap lop:";cin.getline(lop,10); cout<<"Nhap diem:";cin>>diemhk; } void sinhvien: uat() { cout<<"masv:"<<masv<<endl; cout<<"ho va ten:"<<ho_ten<<endl; cout<<"lop:"<<lop<<endl; cout<<"diem:"<<diemhk<<endl; } void main() { sinhvien sv1,sv2; cout<<"Nhap thong tin cho sinh vien 1"<<endl; sv1.nhap(); cout<<"Nhap thong tin cho sinh vien 2"<<endl; sv2.nhap(); cout<<"In thong tin sinh vien 1"<<endl; sv1.xuat(); cout<<"In thong tin sinh vien 2"<<endl; sv2.xuat(); } . ten:"<<ho_ten<<endl; cout<<"lop:"<<lop<<endl; cout<<"diem:"<<diemhk<<endl; } void main() { sinhvien sv1,sv2; cout<<"Nhap thong tin cho sinh vien 1"<<endl; sv1.nhap(); cout<<"Nhap thong tin cho sinh vien 2& quot;<<endl; sv2.nhap(); cout<<"In. 2& quot;<<endl; sv2.nhap(); cout<<"In thong tin sinh vien 1"<<endl; sv1.xuat(); cout<<"In thong tin sinh vien 2& quot;<<endl; sv2.xuat(); } . class sinhvien { private: char masv[10],ho_ten [20 ],lop[10]; float diemhk; public: void nhap(); void xuat(); }; void sinhvien::nhap() { cout<<"Nhap