Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- private static int gcd(int m, int n) // See Euclid's Algorithm
- {
- if (n == 0) return m;
- else return gcd(n, m % n);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement