You walk into a creepy house by yourself. There is no electricity, plumbing, or ventilation. Inside you notice 3 doors with numbers on them. Once you open the doors you will die a particular way. Door No.1 You’ll be eaten by a lion who is hungry. Door No.2 You’ll be stabbed to death. Door No.3 There is an electric chair waiting for you. Which door do you pick?
The LCD device should be able to tell the right time in the format HH:MM: SS in a 12-hour format. You can refer to the picture to get an idea. The device is a simple "level indicator" which has to be converted into a watch. How will you program it to work?
Imagine a box with two cogwheels, one big with 24 teeth and one small with 8 teeth. The big one is firmly attached to the center of the box which means it does not turn or move while the small one rotates around the big one.
How many times do you think that the smaller wheel will turn compared to the box when it turns once around the big one?