Please put into C# with the user being able to enter in anyvalue and with the copy available for copy 🙂
Program 2: Re-work program #5 (WeeklyHours)from the previous assignment such that
-
The program prints out the day an employee worked mosthours.
-
The program outputs are displayed in ascending order (stored) byWeekly Hours. Notice that we modifying method addHours()to displaythe outputs sorted by total weekly hours for each employee as shownbelow.
Sample run 1:
Employees Data:
Mon Tue Wed Thu Fri Sat Sun
Employee1 5 3 2 9 6 5 7
Employee2 7 6 8 5 5 4 5
Employee3 1 2 2 1 5 8 7
Employee1 worked most
OR
OR