The instructions for this task says that we’re looking for the COUNT(*) of customers who were subscribed to the newspaper during March (3). And the logic we are instructed to use returns a quantity of 8. (start_month < 3, end_month > 3)
However, I contend that this logic is flawed, and that we should be using:
start_month > 4 or start_month >= 3
end_month > 2 or end_month >= 3
That way, new customers who began their subscriptions in March, or those who will be receiving a newspaper in March but not in April are included. My argument returns a count of 13.
“Logic” is my greatest hurdle in coding. So I’m curious which version is most accurate.