Due to lack of maintenance the minute-hand has fallen off Town Hall clock face.
And because the local council has lost most of our tax money to a Nigerian email scam there are no funds to fix the clock properly.
Instead, they are asking for volunteer programmers to write some code that tell the time by only looking at the remaining hour-hand!
What a bunch of cheapskates!
Can you do it?
Given the angle
(in degrees) of the hour-hand, return the time in HH:MM format. Round down to the nearest minute.
12:00
= 0 degrees03:00
= 90 degrees06:00
= 180 degrees09:00
= 270 degrees12:00
= 360 degrees
- 0 <=
angle
<= 360