Im having trouble with an if else statement
I have a documentation and it says this:
Locations 100-199 get paid $10.00 per hour with time and a half for any hours over 5 per day.
Locations 200-299 get paid $7.50 per hour with double time for hours worked over 6 per day.
Locations 300-399 get paid $9.25 for the first 4 hours and $10.50 for the rest.
Locations 400-499 get paid $13.50 per hour on Sundays (day 1) and Saturdays (day 7) and $6.75 per hour
otherwise.
Locations 500-599 get paid $8.00 per hour for the first 6 hours per day and $12.00 per hour after that.
I don't really know where to start with it I have some what of a start for location 100-199
but its not complete I was wondering if any one can help me:
1 2 3 4
|
// if else statement for the locations
if(location >= 100 && location <= 199)
else
|
that's my code so far but I don't really know where to go from this
if anyone can help me.