Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

More Books

Students also viewed these Databases questions

Question

Explain the function and purpose of the Job Level Table.

Answered: 1 week ago