#include<iostream.h>
#include<conio.h>
class student
{
private:
int rn;
float fees;
public:
void readdata()
{
cout<<"Enter the roll no. and fees of the student";
cin>>rn>>fees;
}
void writedata()
{
cout<<"The rollno. is "<<rn<<endl;
cout<<" The fees is "<<fees<<endl;
}
};
void main()
{
clrscr();
student st, st2;
st.readdata();
st.writedata();
st2.readdata();
st2.writedata();
getch();
}