Advertisement
ssoti2001

Untitled

Nov 24th, 2014
134
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.16 KB | None | 0 0
  1. #I will use Pseudo Code. Try solve this recursively why! better implementation.
  2.  
  3. #Returns Integer
  4. int GCD(a,b){
  5.  
  6. if b=0; return a;
  7.  
  8. else return GCD (b a%b);
  9. };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement