Optional Project 11: Angle of Hands on a Clock
Optional Project 11: Variables 'hr' and 'min' are initialized.
hr represents the hour hand on an analog clock
min represents the minute hand on an analog clock
For the example below, hr = 11 and min = 40 because the time displayed is 11:40
Task: Appropriately assign the value 'angle' that represents the smallest angle formed by the two hands.
When the time is 11:40, the shortest angle between the two hands is 110 degrees so angle would be 110.
**If your code works for 5 test cases, you can enter your e-mail address
Universal Computational Math Methods:
pow(5,2) returns 25.0
abs(-3.0) returns 3
sqrt(49.0) returns 7.0