Given two numbers ‘num’ and ‘divisor’, find remainder when ‘num’ is divided by ‘divisor’. The use of modulo or % operator is not allowed. Recommended: Please try your approach on {IDE} first, before moving on to the solution. // This code is contributed by Sam007. // This code is contributed by Sam007.
For More Information Please Refer: