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