for (i=1, i<1000, i++) {
if 605/i*200 < 200 break..
so i would be the 3
ROFLMAO (not at the code, but at the dukes)
you actually get the same result when you do just
int result = 605 / 200; // result == 3
and if you want that reminder then you just
int reminder = 605 % 200; // reminder == 5
for making it more clear:
int result = 29 / 10; // result == 2
int reminder = 29 % 10; // reminder == 9
you see, that result never gets rounded up.