** Pastebin PRO Accounts Winter Special ** Get 40% discount for a limited time only! Click Here to check it out ;-)Want more features on Pastebin? Sign Up, it's FREE!

Tuesday Praxis

By: a guest on Feb 16th, 2009  |  syntax: Scheme  |  size: 0.10 KB  |  views: 589  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. (define (gcd m n)
  2.   (cond ((< m n) (gcd m (- n m)))
  3.         ((< n m) (gcd (- m n) n))
  4.         (else m)))
clone this paste RAW Paste Data