How to write a function to implement an integer division algorithm without using the division operator. Floating point values and remainders may be discarded. Error conditions may be ignored.
For example:
f(10, 3) is 3
f(10, 5) is 2
f(55, 5) is 11