Question: Python Program 5: Design (pseudocode) WeeklyHours) to compute the total weekly hours for defines a two-dimensional array of size 3x7 to store employers' daily represents
Python Program 5: Design (pseudocode) WeeklyHours) to compute the total weekly hours for defines a two-dimensional array of size 3x7 to store employers' daily represents one employe designates Monday, column 1 designates Tuesday, etc. The program main method populates the array with random numbers between 0 and 10 and then prints out the array in rows and columns as shown below. The main method then calls method addHours () that takes a two-dimensional array as a parameter and displays the total weekly hours for each employee as shown below. Document your code and properly label the outputs as shown below. a program (name it 3 employees. The program main method hours for the week. Each row e and each column represent one day of the week such that column Sample run 1: Employees Data: Mon Tue Wed Thu Fri Sat Sun Employee1 53 2 9 6 5 Employee2 76 8 5 5 4 5 Employee3 1 2 21 5 8 7 Employee # Weekly Hours 37 40 26 Sample run 2 Employees Data: Mon Tue Wed Thu Fri Sat Sun Employeel 10 27 2 0 3 8 Employee2 5 61 5 1 4 2 Employee3 1 5 2 6 4 8 7 Employee# Weekly Hours
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
