Solved LeetCode program · 29 of 1,000
#0029 · Divide Two Integers
Original English source
The top is 10. The bottom is 3. The quotient is 0.
Repeat while top is at least bottom.
Decrease top by bottom. Add 1 to quotient.
Report quotient.
Expected stdout
3