Question: Write a program to do the following: 1 . Declare a struct of persons. The struct members will be First Name, Last Name, City, Age
Write a program to do the following:
Declare a struct of persons. The struct members will be
First Name, Last Name, City, Age
Declare a struct of employees. The struct members will be:
Persons the previous struct Salary, years in Service.
Your program will create an array of employees. The size of the array si
Read the info into the array from an input file.
Add to the age of each employee, Then print the complete info into an outfile. The outfile must be one line per employee. The newline must be after each employee record is printed.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
