+ 1
Get all the emoloyees details with their manager names
create class employee with fields empid ,name and managerid get the all employees under a manager
2 odpowiedzi
+ 3
your question?
+ 2
https://code.sololearn.com/cXzkw8V4hc2B/#cs
^There you go. It's a very rough idea of what you're looking for. If this was a real project, I would do it differently and would utilize a database for the employees/managers. If I was using a database, then I'd be retrieving the data and comparing it in a totally different way, so just take note of that. However, this should meet the specifications that you gave. Hope it helps.