Question 4(a): Write down a structure that can store an employee's record having two attributes (a) Employee ID, and (b)
-
- Site Admin
- Posts: 899603
- Joined: Mon Aug 02, 2021 8:13 am
Question 4(a): Write down a structure that can store an employee's record having two attributes (a) Employee ID, and (b)
Question 4(a): Write down a structure that can store an employee's record having two attributes (a) Employee ID, and (b) salary. Using this structure take N employees' information as input where N will also be input to your program. Write down a function that will take all employees information as parameter and will return the average salary of the employees.