Joined
Last Seen
0 Reputation Points
60% Quality Score
- Upvotes Received
- 2
- Posts with Upvotes
- 1
- Upvoting Members
- 2
- Downvotes Received
- 2
- Posts with Downvotes
- 1
- Downvoting Members
- 2
0 Endorsements
Ranked #107.76K
1 Posted Topic
Your approach is correct, but I think you're calculating the worked hours and salary before calculating the employee's late minutes. A simpler approach is: 1. Define the official start time (for example, 8:00 AM). 2. Compare the employee's actual check-in time with the scheduled start time. 3. If the employee …
The End.
Lucas_41