Function for finding distance between end points of minute hand and hour hand
float distance = distanceEndpoints ( minHand , hourHand , ( long ) angle ) ; System . out . printf ( " % .5f " , distance ) ; } }