Problem 42981. Angle difference between Hour Hand and Minute Hand of clock
Solution Stats
Problem Comments
-
2 Comments
goc3
on 7 Sep 2016
This is a slightly different, and easier, version of these problems:
http://www.mathworks.com/matlabcentral/cody/problems/392-clock-hand-angle-1
http://www.mathworks.com/matlabcentral/cody/problems/1206-angles-of-the-hands-of-a-clock
Peng Liu
on 7 Sep 2016
Please note that the angle between the hour and minute hands also depends on the second hand. You assumed the zero-second in all test cases, which makes your problem a special case of an existing problem: http://www.mathworks.com/matlabcentral/cody/problems/392-clock-hand-angle-1
Problem Recent Solvers29
Suggested Problems
-
1022 Solvers
-
Construct a string from letters and counts
131 Solvers
-
Back to basics 6 - Column Vector
983 Solvers
-
185 Solvers
-
457 Solvers
More from this Author6
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!