This relevance takes a provided integer ??
and returns a different integer as a result.
What does this relevance do? I’m looking for what the integer represents that is returned.
(if (it = 2) then /* It is Complicated */ 0 else ( if (it < 8) then (30 + it mod 2) else (30 + (it + 1) mod 2 ) ) ) of ??
Hint: Try some numbers, like 0 through 20 in the debugger. Not all results from all numbers matter for this particular use case.
Click here to see the answer
The integer values for ?? is the number of the month of the year. The result of the relevance is the number of days in that month. February is not handled due to it being a complicated case.
Correct answers:
I’m not going to list any more correct answer submissions because I’m going to provide the answer collapsed above.