Created
          March 5, 2016 05:36 
        
      - 
      
- 
        Save lykkin/65dd6329d454f3161181 to your computer and use it in GitHub Desktop. 
    arithmetic using loops/inc/dec
  
        
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | function div(n,m){for(var l=m;l>0;l--){for(var k=0;k<m-1;k++){n--}}return n} | |
| function rem(n,m){for(var l=0;n>=m;l++){for(var k=0;k<m;k++){n--}}return n} | |
| function mul(n,m){for(var l=n;m>1;m--){for(var i=0;i<l;i++){n++}}return n} | |
| function sub(n,m){for(var i=0;i<m;i++){n--}return n} | |
| function add(n,m){for(var i=0;i<m;i++){n++}return n} | 
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment