minute_deg = minute * 360 / 60 = minute * 6;
The hour hand will make a complete revolution every hour, so its formula is:
hour_deg = hour * 360 / 12 = hour * 30;
A function to find the angle would be:
int angleBetweenHands(int hour, int minute)
{
if(hour > 12) // In case of 24 hour clock
hour -= 12;
int angle = hour * 30 - minute * 6;
if(angle > 180)
angle = 360 - angle;
return(angle);
}
Read more: C_code_to_find_angle_between_hour_hand_and_minute_hand
Chat with our AI personalities
It is a obtuse angle.
obtuse
A 90° angle, to the right.
90 degrees
The correct answer is 120 DEGREES