154k views
4 votes
Working overtime is defined as having worked more than 40 hours during the week. given the variable hoursworked, write an expression that evaluates to true if the employee worked overtime.

User Junko
by
7.2k points

1 Answer

4 votes
if( hoursworked > 40 )
User Rein Henrichs
by
7.5k points