#include<iostream.h>
#include<conio.h>
class data
{
int day;
int month;
int year;
public:
void date(int dd,int mm,int yy)
{
day=dd;
month=mm;
year=yy;
cout<<"\t"<<day<<endl;
cout<<"\t"<<month<<endl;
cout<<"\t"<<year<<endl;
}
};
main()
{
clrscr();
data f1,f2;
f1.date(7,12,2002);
f2.date(8,12,2002);
f1.date(12,12,2002);
}