Practice · 1 of 3
Counter Module
CHALLENGE
Difficulty: beginner+25 XP
Build a counter module: private file-scope state, public void counter_reset(void), void counter_add(int n), and int counter_value(void) returning the running total.
Press Submit to check your solution.
Back to lesson: Practice: API Discipline