This site requires JavaScript, please enable it in your browser!
Greenfoot back
divinity
divinity wrote ...

2016/6/15

counting total employee of a company

divinity divinity

2016/6/15

#
hi danpost how are you. i have a some question. I am practicing a payroll program in java. the output of the program is that u have display the total number of employees how do you count the total number of hourly paid workers, monthly paid workers and commission workers in a company. how to compute the total figures for all employees netpay, grosspay and deductions how do you get the name and values of the highest and lowest paid employees in a company. how do you display the total number of process employees
danpost danpost

2016/6/16

#
@divinity, I think you know by know that you need to show some effort and that only specific programming issues are dealt with here. We are not here to do the work for you. As you explained your issues above:
how do you count the total number of hourly paid workers, monthly paid workers and commission workers in a company.
The type of objects that represent the workers and how you access them is needed.
how to compute the total figures for all employees netpay, grosspay and deductions
The computations is basic math. And again, "for all employees" requires the same as the first issue.
how do you get the name and values of the highest and lowest paid employees in a company.
Using an if' statement while iterating through the list of employees (how else?).
how do you display the total number of process employees
Using the terminal window ( System.out.print ). General questions -- general answers. No code given -- no code corrected. Does not help much! does it?
You need to login to post a reply.