Advertisement
Guest User

Greatest common divisor

a guest
Jan 22nd, 2018
59
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.07 KB | None | 0 0
  1. gcd(12, 8)
  2.  
  3. 12
  4. 1, 2, 3, 4, 6, 12
  5.  
  6. 8
  7. 1, 2, 4, 8
  8.  
  9. So, GCD is 4
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement