By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
435,054 Members | 1,304 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 435,054 IT Pros & Developers. It's quick & easy.

Program to show employee salary

P: 1
How to do this?

Write a program that used to manage the HR data of a Faculty that has a team of 10 employees. The employee data like ( eno , ename , job ,salary , bonus).

The program should have:
Function to accept the data of employees and automatically set the salary according to the following formulas in case the
Job = ‘senior Lecturer’ ( salary = 6000
Job = ‘Lecturer’ ( salary = 5000
Job = ‘Admin Assistant’ ( salary = 2500
Otherwise ( salary = 1500)

Function to set the bonus value for a specific employee according to specific percent.

Function to print out the data of all employees.
Must use Structure,Array and Loop.
2 Weeks Ago #1
Share this Question
Share on Google+
1 Reply

Expert Mod 5K+
P: 5,330
what have you done so far to solve that task? Please show the code where you have problems with.
2 Weeks Ago #2

Post your reply

Sign in to post your reply or Sign up for a free account.