3 ms·You could also do (a + (b-a)/2) where a is the smaller number.by dpacmittal 5y agoYou could also do (a + (b-a)/2) where a is the smaller number.