Skip to main content

Practice · 2 of 3

Capstone: debug the meter

CHALLENGE
Difficulty: beginner+25 XP

Meter.tick() increments unconditionally, so overflowed() (units == cap) never becomes true. Fix tick() to respect the cap. All signatures stay.

Back to lesson: Practice: Readiness reps