Question: create the functions using array and for loops Define a structure that represents Company. Each Company has three departments: IT, HR, and Management. As the
Define a structure that represents Company. Each Company has three departments: IT, HR, and Management. As the number of workers varies from department to department, the departments are represented by a list that is capable of accommodating any number of workers. Each worker is, in turn, represented by a structure of four components: name, surname, date of birth, and job. The job information is standard' or it specifies the working departments ID and salary. (b)- Assume that a simple (one-way) linked list is already populated with a set of Companies, and a global pointer list points to the first node of the list. Write a program to answer the following queries: (1). Find the names of the all the Standard" workers. (2). Find all workers in specific Company. (3). Find all names with salary s, where 1000C-s
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
