Question: How would I put the functions into a module for this code? # Take input for names of 3 employees nameOfEmp 1 Input = str
How would I put the functions into a module for this code?
# Take input for names of employees
nameOfEmpInput strinputPlease enter name of first employee:
nameOfEmpInput strinputPlease enter name of second employee:
nameOfEmpInput strinputPlease enter name of third employee:
hour intinputEnter hours worked:
grosspay intinputEnter hourly rate of the worker:
salary grosspayhour
if hour :
diff hour
salary inthour grosspay diff grosspay
printfSalary is $salary
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
