I am going through an algorithms and datastructures textbook and came accross this question:
1-28. Write a function to perform integer division withou
The pseudo code:
count = 0 while (dividend >= divisor) dividend -= divisor count++ //Get count, your answer