daily pastebin goal
65%
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
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top