Time taken per hour for stoppage of Car | Function to return the time taken per hour for stoppage ; Driver code
function numberOfMinutes ( S , S1 ) { let Min = 0 ; Min = ( ( S - S1 ) / Math . floor ( S ) ) * 60 ; return Min ; } let S = 30 , S1 = 10 ; document . write ( numberOfMinutes ( S , S1 ) + " " ) ;