Checkpoint: branch inventory
Challenge on lesson: Checkpoint: conditionals
CHALLENGE
Difficulty: beginner+25 XP
Implement String describe(int x): "negative" when x < 0; "zero" when x == 0; "single" when x is 1โ9 inclusive; "large" when x >= 10. Every branch must be reachable and boundaries exact.
Press Submit to check your solution.
Back to lesson: Checkpoint: conditionals