Skip to main content

Practice ยท 3 of 4

Range gate

CHALLENGE
Difficulty: beginner+25 XP

Implement static bool IsValidScore(string input) โ€” true exactly when input parses to an int from 0 to 100 inclusive. "100" true, "101" false, "abc" false, "-1" false.

Back to lesson: Practice: Parse and validate