Write a ScoreKeeper that starts at 0. add increases the score by the amount given, reset puts it back to 0, and getScore returns it.
class ScoreKeeper { ScoreKeeper(); void add(int points); void reset(); int getScore(); }
Examples
There are also 3 hidden tests you can't see. Solve the problem, not the examples.