Question: I NEED THE ALGORITHM AND 2 DATA EXAMPLES AS MENTIONED Problem 4: Calculate an employee's wages for both their straight time and overtime using these

I NEED THE ALGORITHM AND 2 DATA EXAMPLES AS MENTIONED
Problem 4: Calculate an employee's wages for both their straight time and overtime using these criteria: a. Input the employee's name and one value of how many hours they worked entirely. b. The total hours worked has to be evaluated to determine if the employee worked any overtime. (1) Up to 40 hours are paid at $10.00 per hour (2) All hours over 40 hours are paid at time and a half" c. Calculate and display the employee's basic pay, their overtime pay, and their total pay. Algorithm: 2 Data Examples: (#1) 30 hours worked entirely: (#2) 50 hours worked entirely
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
