subject
Engineering, 09.12.2021 05:00 srshelton

For each employee: a. Get the employee name from the file named employee_names. txt
b. Get the number of hours worked for the employee from the user/keyboard(input)
i. write a try/except statement to gracefully respond to a ValueError exception for hours
c. Store in hours of each employee just received from the user in “employee_names. txt” file – besides the corresponding employee name

3. Read the hours of each employee into a list from the updated file (see the snapshot above) where you added hours next to employee name. Perform the following operations on the list you have just read.
a. For each list element: use the value stored in the element to calculate an employee’s gross pay.
b. Display the amount of the gross pay.
c. Hourly rate $12.00
d. Overtime should be calculated at time and a half after 40 hours

file content:
George Thomas
Melinda Harris
Norah Jeddery
Jorge Ortiz
Samantha Gregory
Tanvi Gupta
William Edwards
Tania Gomez
Erica Sanders
Gracie Lou Freebush
Tony Montana
Obi-Wan Kenobi
Cruella De Vil
Marty McFly
Napoleon Dynamite

ansver
Answers: 2

Another question on Engineering

question
Engineering, 04.07.2019 18:10
Adouble-strand no. 60 roller chain is used to transmit power between a 13-tooth driving sprocket rotating at 300 rev/min and a 52-tooth driven sprocket. a) what is the allowable horsepower of this drive? b) estimate the center-to-center distance if the chain length is 82 pitches. c) estimate the torque and bending force on the driving shaft by the chain if the actual horsepower transmitted is 30 percent less than the corrected (allowable) power.
Answers: 3
question
Engineering, 04.07.2019 18:20
Acertain flow of air (at stp) has a velocity distribution given by v i (in ft/s). if this flow is going through a 4 ft square area in the yz-plane (centered at the origin), what is the mass flow rate (in lbm/s)?
Answers: 2
question
Engineering, 04.07.2019 19:10
A)-explain briefly the importance of standards in engineering design. b)- what is patent? c)-explain the relationship between these standards: b.s. and b.s.en d)- in engineering design concepts, types of loads and how they act are important factors. explain.
Answers: 3
question
Engineering, 06.07.2019 02:30
Plot schematically the tensile stress versus strain curves for a typical thermoplastic material at a temperature below its glass transition temperature (tg and at a temperature above its tg, respectively. do the same for a typical thermosetting material. list in a table any differences or similarities between the two materials at t> tg and t < tg, respectively, and relate them to the structures of the two types of polymers
Answers: 3
You know the right answer?
For each employee: a. Get the employee name from the file named employee_names. txt
b. Get...
Questions
question
Mathematics, 08.08.2021 01:10
question
Social Studies, 08.08.2021 01:10
Questions on the website: 13722367