Question: Solve in C program i) Define a C structure Employee to hold the information of Employee_Name, Employee_ID and Salary. (2) ii) Assume there will be
Solve in C program
i) Define a C structure Employee to hold the information of Employee_Name, Employee_ID and Salary. (2)
ii) Assume there will be 10 employees in a company; take inputs from user for all of them using a function called Read (3)
ii) Write a function called HighestPaid which will find out the employee with the highest salary and write their details in a file named HighestPaid.txt. (5)
Read and HighestPaid functions are mandatory in your program. No marks will be given for using only the main function. Use concept of pointers where appropriate.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
