There would be a good argument for $\Pr(X\le 24)-\Pr(X\le 15)$. This includes both endpoints. In ordinary mathematical English (but this problem may not have been originally in English) the case for $\Pr(X\le 23)-\Pr(X\le 16)$ is I think weaker.
The answer you suggest, $\Pr(X\le 24)-\Pr(X\le 16)$, seems less reasonable: Implicitly, that includes the $30\%$ end point, but excludes the $20\%$ end point. An interpretation that either includes both or excludes both is easier to justify.