- Messages
- 637
- Reaction score
- 365
- Points
- 73
Yea that one still intrigues me.
Even the one which they have set in the Marking scheme isn't totally valid.
I mean
"Workers who are paid monthly can earn between €1500 and €10000 a month (inclusive).
Workers who are paid hourly are paid between €8 and €20 an hour (inclusive). Add
appropriate validation"
The statement becomes
If PayType = M than RateOfPay is Between 1500 and 10000
OR
If PayType = H than RateOfPay is Between 8 and 20.
But since I guess that will become a little too complicated .. The answer for this question as far as i remember was.
(Between 8 And 20) OR (Between 1500 and 10000)
But imo this won't be a good check though .. since this way one can easily enter 1500euros for hourly or 20euro for monthly.
I tried it, ">=1500" And "<=10000" like this, dosent work