algorithms.tutorialhorizon.com

Find remainder without using modulo operator | Algorithms

Write Given two integers 'number' and 'divisor', Write an algorithm to find the remainder if 'number' is divided by 'divisor'. Condition: You are not allowed to use modulo or % operator.