Analog and Digital Clocks in C