Question: Write a c++ program Define a struct called person which consists of character arrays for first and last names, a float for age, and an

Write a c++ program

Define a struct called person which consists of character arrays for first and last names, a float for age, and an integer array for social security number. The program also defines a struct called employee, which consists of an integer array for the employee number, a float for hourly wage, a person to hold the persons personal information, and a string array to hold the persons job title. The main program then declares a single instance of an employee, allows the user the option to enter any and all of the information for an employee, this information will be written into the struct. Then after all of the information is the struct each item will be written into an external file called EmployeeInfo. The main program will also have the option to print information for a given employee (e.g. the 4th employee that was input). The program should continue looping taking in information and printing out information until the user chooses to quit.

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!