Computer Science, asked by Amaira7951, 1 year ago

Logic to find angle in clock in computer language

Answers

Answered by ritikmalik445
0
Calculate the angle between hour hand and minute hand

This problem is know as Clock angle problem where we need to find angle between hands of an analog clock at a given time.

Examples:

Input: h = 12:00, m = 30.00
Output: 165 degree

Input: h = 3.00, m = 30.00
Output: 75 degree
Similar questions