Question: Write a Python program that reads two employees' hours and displays each employee's total and the overall total. If the average hours of the employee

Write a Python program that reads two employees' hours and displays each employee's total and the overall total. If the average hours of the employee is greater than 8, you print out this is hard working work, otherwise you print out this is an easy work

Employee 1: How many days? 3

Hours? 6

Hours? 12

Hours? 5

Employee 1's total hours = 19 (6.33 / day)

work normally

Employee 2: How many days? 2

Hours? 12

Hours?10

Employee 2's total hours = 22 (11.00 / day)

hard working"

Total hours for both = 33

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!