question archive Write the code that completes the following tasks: 1)Get user input for the weekly number of hours a user has worked (expect a potential float input) 2)Get the user input for the pay rate per hour (expect a potential float input) 3)Validate the user input to ensure that the user has entered a positive number for the number of hours but no more than 60 hours

Write the code that completes the following tasks: 1)Get user input for the weekly number of hours a user has worked (expect a potential float input) 2)Get the user input for the pay rate per hour (expect a potential float input) 3)Validate the user input to ensure that the user has entered a positive number for the number of hours but no more than 60 hours

Subject:Computer SciencePrice: Bought3

Write the code that completes the following tasks:

1)Get user input for the weekly number of hours a user has worked (expect a potential float input)

2)Get the user input for the pay rate per hour (expect a potential float input)

3)Validate the user input to ensure that the user has entered a positive number for the number of hours but no more than 60 hours.

4)Calculate the weekly pay considering that the overtime pay at 1.5 hourly rate must be paid for any time worked over 40 hours a week.

5)Comment with description of what each statement does

pur-new-sol

Purchase A New Answer

Custom new solution created by our subject matter experts

GET A QUOTE