Practice · 1 of 4
Range Helper
CHALLENGE
Difficulty: beginner+25 XP
Implement int in_range(int v, int lo, int hi) returning 1 when lo <= v <= hi (inclusive both ends).
Press Submit to check your solution.
Back to lesson: Practice: Decomposition
Practice · 1 of 4
Implement int in_range(int v, int lo, int hi) returning 1 when lo <= v <= hi (inclusive both ends).
Back to lesson: Practice: Decomposition