include <iostream>
include<string>
using namespace std;
struct people
{
string fname;
string lname;
void input()
{
cin>>people.fname>>people.lname;
}
void output()
{
cout<<people.fname<<people.lname;
}
};
struct birthday{
int day;
int month;
int year;
void output()
{
cout<<day<<birthday.month<<birthday.year;
}
void input()
{
cin>>day>>month>>year;
}
};
int i;
int main()
{
cout<<"Birthday Program"<<endl;
for (i=0;i<2;i++)
{
cout<<"Enter First Name and Last Name";
people.input;
cout <<"Enter the month, date and year"<<endl;
birthday.input;
}
for(i=0;i<2;i++)
{
cout<<people.output<<" "<<birthday.output<<" "<<endl;
}
return 0;
}