SHARE
TWEET

Untitled

a guest Jun 19th, 2017 50 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. int divide (int dividend, int divisor) {
  2.    
  3.     int quotient;
  4.     while ((dividend -= divisor) != 0) {
  5.         quotient++;
  6.     }
  7.    
  8.     return quotient;
  9. }
RAW Paste Data
Top