Question: Please write pseudo-code to read all time cards, process them, and output Total_Regular_Hours and Total_Overtime_Hours for a client. Each time card has Time_In (0900 for
Please write pseudo-code to read all time cards, process them, and output Total_Regular_Hours and Total_Overtime_Hours for a client. Each time card has Time_In (0900 for example) and Time_Out (1700 for example). If the client worked more than 8 hours for a day, any hours over 8 must be treated as overtime hours. (Time_Out Time_In) would be the number of hours the client worked for that day. The client may have many time cards to be processed.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
