how can i write this program
can any one tell me the code for this
i have one company class
in company i have so many departments
in each department i have employee
each employee is divided into project member ,project manager project lead
i have one test class for department
when i ask dept test class that go to department it should go there
and in runtime i have to give number of departments and i have to enter each department employee deatils
after that it should count employee and i should get number of employees and when i call one method it should count all no of employess in every department and it should give out put total no of employess in all departments and if i give any employee id it should tell that is he/she is project member ,project manager project lead
please can any one tell me how to stat and do
Re: how can i write this program
Well... First of all you posted this in the wrong section. This section is reserved for teaching or showing code. Second, no one is going to do your homework for you. (for free) If you show a little more effort like posting your current code or showing some errors, then someone might help you. I'm not trying to be rude. I'm just stating the truth.
Re: how can i write this program
Hello lavudyagopi27. Welcome to the forums.
I have moved this thread to the correct forum...
Please post any code you have and we can take it from there :)