Question: CODE IN C++ PLEASE: Use a file to solve this program and include comments Design and Implement a program that will read from a file

CODE IN C++ PLEASE: Use a file to solve this program and include comments

Design and Implement a program that will read from a file all the elements needed to fill/ INPUT DATA for the entire structure for up to- 25 Employees

OUTPUT: All the contents of the struct.

NOTE: Use #include to format the output of the structure.

Below i will post the structs that will be used in the code:

struct employeeType

{

nameType name;

string empID;

addressType address;

dataType hireDate;

dataType quitDate;

contactType contact;

string deptID;

double salary;

};

struct nameType

{

string first;

string middle;

string last;

};

struct addressType

{

string address1;

string address2;

string city;

string state;

string zip;

};

struct dataType

{

int month;

int day;

int year;

};

struct contactType

{

string phone;

string cellphone;

string fax;

string pager;

string email;

};

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!