Javed Ahmad

Javed Ahmad

  • 1.5k
  • 213
  • 3.1k

Program Test

Oct 11 2022 10:40 AM

Question : Please go through the Problem statement

There is a given set of employees

ID   Name         CTC          Manager ID (Like FK to ID)

1    Tom           200000           2

2    javed        250000            4

3    Vivek        300000            2

4    Ashish     400000           NULL

Now for given set of employees , Carete a Employe class to store this information. Create an array or arralist to hold this data. Create in memory objects.

Now write a program in C Sharp to following

1- Total expenses of company for employee salary

2-Print Manager Name for given employee name 

3- Employee having second higest salary

4-  Sort employee name based on salary in ascending order

5- Sort employee name based on in alphabetical order in ascending order


Answers (3)