Piet earns R20 per hour, if he works more than 30 hours then he receives an extra R8 per hour, will the following statement be correct or incorrect (only type in correct or incorrect at your answer space) If hoursworked > 30 then Salary = salary + (hoursworked – 30) + 8

incorrect

The statement is incorrect.

To determine Piet's salary, we need to consider two scenarios:
1. If Piet works 30 hours or less: Piet will earn R20 per hour, and the salary is calculated as salary = hours_worked * R20.
2. If Piet works more than 30 hours: Piet will earn R20 per hour for the first 30 hours, and then an additional R8 per hour for the extra hours. The salary is calculated as salary = (30 * R20) + (extra_hours * R8).

To decide if the statement is correct or incorrect, we can rewrite it as follows:
If hours_worked > 30, then salary = salary + (hours_worked - 30) + 8

Comparing this to the correct formula, we can see that the extra hours' payment (hours_worked - 30) needs to be multiplied by R8, not simply added.

Therefore, the correct statement would be: If hours_worked > 30, then salary = salary + ((hours_worked - 30) * 8)

So, the given statement is incorrect.