Advertisement
Guest User

Untitled

a guest
Jun 19th, 2017
63
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.14 KB | None | 0 0
  1. int divide (int dividend, int divisor) {
  2.  
  3. int quotient;
  4. while ((dividend -= divisor) != 0) {
  5. quotient++;
  6. }
  7.  
  8. return quotient;
  9. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement