473,385 Members | 1,893 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

Program to show employee salary

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.
Sep 27 '19 #1
1 1074
gits
5,390 Expert Mod 4TB
what have you done so far to solve that task? Please show the code where you have problems with.
Sep 27 '19 #2

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

Similar topics

1
by: Sean | last post by:
How do I make my VB 6 desktop program show up in the taskbar when it's running?
8
by: code break | last post by:
Can Any one tell me why this program is crashing . testFunc() { int a1, *ptr ; f=&a1; f=f+1; return 0; }
1
by: sallyk57 | last post by:
Help with following Programs: Write two programs one where the performance rating here shoud be entered as a int where Excellent =1, Good= 2, Poor=3. an employee who is rated excellent will...
2
by: anis2007 | last post by:
Good morning to all of you, Plz tell , how i write the query that i got top ten employee salary. Thankyou Regards anu2007
6
by: mike11d11 | last post by:
My program has to tables in it. One is the Accounts table with all personal information and then there is also my Memos table with all the notes for each account. My program displays one record...
0
by: klfa | last post by:
Dear sir, i realy need help as soon as possible i am trying to make a program that help me in my work i have about five pc connected to my LAN what i am trying to do is to make a program in VB...
8
by: hmmtn | last post by:
I would appreciate any help on this one. Assignment is as follows: Develop a program that will determine the gross pay for each of several employees. The company pays "straight time" for the first...
2
by: Smurfas | last post by:
What's wrong? Compiletor don't show anything, but whet I start program show this error: "Error updating the employee details!" protected void Button1_Click(object sender, EventArgs e) ...
7
by: Calek916 | last post by:
The problem that I am having is when I run my program my Benefit class starts running and I have not called it my main but for some reason it is running first instead of my Employee class. This whole...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.