********QUESTION 7 IS INCLUDED FOR REFERENCE ONLY. I AM LOOKIN FOR THE ANWSER TO QUESTION 8******
Expert Answer
struct nameType
{
string first;
string last;
};
struct empInforType
{
int department;
double salary;
string startDate;
string address;
};
struct employeeType
{
nameType name;
int evaluationScore;
empInforType empInfo;
};
employeeType employee;
// solution 8
strcpy(employee.name.first, “Gal”);
strcpy(employee.name.last, “Gadot”);
employee.evaluationScore = 10;
empInfo.department = 3;