
Hiep L. answered 04/28/19
Current Computer Science Professor with 30+ yrs of IT experience
Since result is defined to be an integer, the outcome will always be assigned to be whatever the whole number is after the division took place. So, 125/100 has a whole number of 1, so result is 1. For 43/100, the whole number of that division is 0, so result is 0. The fractional part is thrown away.