SER 215 Software Enterprise I 1 Programming Assignment Introduction to Java Points: 50 Instructions: • Submit the following: YourASURiteID.zipThis compressed folder should contain the following files: 1.
SER 215 Software Enterprise I 1 Programming Assignment Introduction to Java Points: 50 Instructions: • Submit the following: YourASURiteID.zipThis compressed folder should contain the following files: 1. EmployeeWorkHours.java 2. A readme.txt containing any instructions you want to provide to the instructor/grader • Make sure yourjava files compile without any compiler errors. You will notreceive any credit forprogramswithcompiler errors. • If you are unable to complete your program, submit the parts that work with no compiler errors for partial credit. Problem: Computing the weekly hours of Employees Suppose theweeklyhours for all employees are storedina two-dimensional array. Eachrowrecords an employee’s n-day work hours with n columns where n ≥ 1 and n ≤ 7 representing the number of days in a week that these employees work. For example, the table shown below represents an array that stores the work hours of eight employees for 7 days in a week. Write a program that takes in as inputs, the number of employees and the number of working days in a week. Then it takes in all the Employee information (name and number of daily hours worked). This program should display employees and their total hours worked in a week in decreasing order of thetotal hours. File name: EmployeeWorkHours.java Sample Input Data: Sun Mon Tue Wed Thu Fri Sat Employee 0 2 4 3 4 5 8 8 Employee 1 7 3 4 3 3 4 4 Employee 2 7 3 4 3 3 2 2 Employee 3 9 3 4 7 3 4 1 Employee 4 3 5 4 3 6 3 8 Employee 5 3 4 4 6 3 4 4 Employee 6 3 7 4 8 3 8 4 Employee 7 6 3 3 9 2 7 9 SER 215 Software Enterprise I 2 Sample Output: Employee 7 worked39 hours Employee 6 worked37 hours Employee 0 worked34 hours Employee 4 worked32 hours Employee 3 worked31 hours Employee 1 worked28 hours Employee 5 worked28 hours Employee 2 worked24 hours SER 215 Software Enterprise I 3