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?
You were playing ping pong with your friend. Suddenly the ball fell into a narrow metal pipe that was imbedded in the concrete surface of the floor one foot deep. Now you don't have any other ball and you desperately want to take it out and play. You and your friend have your shoelaces, your tennis paddle and a plastic water bottle. However, the bottle cannot fit into the pipe.
Christina makes tasty toast in a small pan. After toasting one side of a slice, she turns it over. Each side takes 30 seconds. The pan can only hold two slices.
How can she toast both sides of three slices in 1 & 1/2 instead of 2 minutes?