Computer Science, asked by Aswatheerth5230, 7 days ago

write a c program to get basic details of the employee like name, age and calculate payroll of an employee using structure and pointers. payroll is calculated using the formula gross=basicpay+DA+HRA. DA is 10% of basic pay and HRA is 15% of basic pay.

Answers

Answered by amara15101984
0

Answer:

Create a structure that will store the employee details.Insert 5 different records of employees into the database.Update the salary by adding a 10% increment if the years of service is 10 years and more. Otherwise, add a 7% increment.Display the data for all employees.

My coding has satisfied item 1,2 and 4. For item 3 i have no idea how to write the coding. Can anyone enlighten me?

Similar questions