30 seconds of codeBack to Home
Returns the number of times
num can be divided by
divisor (integer or fractional) without getting a fractional answer.
Works for both negative and positive integers.
Otherwise, keep dividing
divisor and incrementing
i, while the result is an integer.
Return the number of times the loop was executed,