Question: C programming webdavjpid-7283668-dt-content-rid-132440792 2/courses2185-L. a Please get the values from user as Input Task 1 (100 pts.) In a file called task1,c, write records a

C programming  C programming webdavjpid-7283668-dt-content-rid-132440792 2/courses2185-L. a Please get the values from user

webdavjpid-7283668-dt-content-rid-132440792 2/courses2185-L. a Please get the values from user as Input Task 1 (100 pts.) In a file called task1,c, write records a menu based C program to maintain the Employees based C s. Your program should take the following Inputs: 1. Employee first name (max. 25 characters) 2. Employee last name (max. 25 characters) 3. Employee PhoneNo (10 characters. e.g. 1112223344) 4 Employee Salary (int, e.g. 100000) You need to create a structure Employee with above information. Then, create a linked list where each list node contains an Employee. Your program should be able to take records of a minimum of 5 employees. After taking the records, you should provide 7 functionalities to the user. 1. Print records -prints records of all employees. 2. Add a new record-take a new record from the user for a new employee. Create a node for the new employee and add t to the beginning of the list. 3. Delete record(s) - to delete a record, ask for the last name of the employee from the user. If there are multiple employees with same last name, you must delete all of their records (you have to delete corresponding list nodes). 4. Search by PhoneNo -prints record of the employee with a given PhoneNo. 5. Search by Salary range take two Salary max, min; then print records of al employees who have salary between [max, min] (inclusive). many employees are above this median salary (do not forget to sort the list to compute median). 6. Find the median salary compute the median salary and print it. Also, print how 7. Exit the program-terminate on a specific input from the user. Let that specific input be an integer of value 0

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!