Clock

Clock

Easy

Instructions

Implement a clock that handles times without dates.

You should be able to add and subtract minutes to it.

Two clocks that represent the same time should be equal to each other.


Source

Pairing session with Erin Drummond
Edit via GitHub The link opens in a new window or tab
Nim Exercism

Ready to start Clock?

Sign up to Exercism to learn and master Nim with 70 exercises, and real human mentoring, all for free.