9 ms·Assuming integer division, for x=3 and y=5 that would give 3, whereas the midpoint is 4.by pajko 4y agoAssuming integer division, for x=3 and y=5 that would give 3, whereas the midpoint is 4.