Find Dividend Without Using Division Operator
You are given two non-negative integers A and B as arguments. Return the result of A divided by B without using the division operator.
B is guaranteed to be a multiple of A.
Requirements
- Must return an integer
Example #1
solve(6, 2)
>3