#include<conio.h>
#include<iostream.h>
class student
{
public:
int roll,id;
char name[20],std[6];
void getstudent()
{
cout<<"\n\tEnter Student Details \n";
cout<<"\nEnter ID No :";cin>>id;
cout<<"\nEnter STD : ";cin>>std;
cout<<"\nEnter Name : ";cin>>name;
}
};
#include<iostream.h>
class student
{
public:
int roll,id;
char name[20],std[6];
void getstudent()
{
cout<<"\n\tEnter Student Details \n";
cout<<"\nEnter ID No :";cin>>id;
cout<<"\nEnter STD : ";cin>>std;
cout<<"\nEnter Name : ";cin>>name;
}
};