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?
Two trains start at the same time, one from Bangalore to Mysore and the other from Mysore to Bangalore. if they arrive at their destinations one hour and four hours respectively after passing one another, how much faster is one train running than the other?