class Serial
{
int Serialcode;
char Title[20];
float Duration;
int Noofepisodes;
public: Serial()
Duration=30.0;
Noofepisodes =10;
}
void Newserial()
{ cout<<"enter Serialcode: ";
cin>> Serialcode;
cout<<"enter Title: ";
gets(Title);
}
void Otherentries(float d,int n)
{
Duration=d; Noofepisodes =n;
}
void Dispdata()
{
cout<<" Serialcode: "<< Serialcode <<end1;
cout<<" Title: "<< Title <<end1;
cout<<"Duration: "<<Duration<<end1;
cout<<" No of episodes: "<< Noofepisodes <<end1;
}
};