492 B
492 B
A score validator with a test table
Adapt the starter into an explainable score validator with a documented review threshold. Use fixed raw values for repeatable practice before adding interactive input.
- Document accepted values and the response to invalid values.
- Test -1, 0, 1, 99, 100, and 101.
- Test the review threshold on both sides and exactly at it.
- Explain the membership test, conversion, and any message formatting.
- Include actual output and a short self-review note.