Microsoft Interview Question

Implement Digital Watch in C++