Question: Define the Employee structure with members: name (use an array of 100 characters), tax number, and salary. Write a program that uses this type to
Define the Employee structure with members: name (use an array of 100 characters), tax number, and salary. Write a program that uses this type to read the data of 100 employees and store them in an array of such structures. If the user enters fin for name, the data insertion should terminate and theprogram should write the structures in the test.bin binary file.
b. Write a program that reads the above test.bin them and copies the employees data whose salary is more than an amount entered by the user in the data.bin binary file. The program should also display the average salary of the employees stored in data.bin.
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
