Write a function in any language (preferable C#) which computes the angle between the hand hands of a clock given a time of day. The function must work for all combinations of hour and minute.
inputs: int hour, int minute
output: float angle (in degrees)
For Example:
At 3:00 PM, the angle is 90 degrees
|
|
|
.-----
At 3:45 PM, the angle is 180 degrees
---------.-----